Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
govdna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
开发共享交流平台
govdna
Commits
ddd25bb7
Commit
ddd25bb7
authored
6 years ago
by
Fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉assert
parent
bd434b98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
Assert.java
src/main/java/com/govmade/common/utils/Assert.java
+0
-24
No files found.
src/main/java/com/govmade/common/utils/Assert.java
deleted
100644 → 0
View file @
bd434b98
package
com
.
govmade
.
common
.
utils
;
import
org.apache.commons.lang.StringUtils
;
import
com.govmade.common.exception.RRException
;
/**
* 数据校验
*
*/
public
abstract
class
Assert
{
public
static
void
isBlank
(
String
str
,
String
message
)
{
if
(
StringUtils
.
isBlank
(
str
))
{
throw
new
RRException
(
message
);
}
}
public
static
void
isNull
(
Object
object
,
String
message
)
{
if
(
object
==
null
)
{
throw
new
RRException
(
message
);
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment