Skip to content

Commit

Permalink
随便优化一下
Browse files Browse the repository at this point in the history
  • Loading branch information
miemieYaho committed Nov 29, 2018
1 parent efb67a7 commit 1e405b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ html
# MacOS
.DS_Store
/repo/
/gradle/
/gradlew
/gradlew.bat
gradle/
gradlew
gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* @author hubin miemie HCL
* @since 2017-05-26
*/
@SuppressWarnings("unchecked,serial")
@SuppressWarnings({"serial", "unchecked"})
public abstract class AbstractWrapper<T, R, This extends AbstractWrapper<T, R, This>> extends Wrapper<T>
implements Compare<This, R>, Nested<This>, Join<This>, Func<This, R> {

Expand Down Expand Up @@ -429,6 +429,7 @@ protected This doIt(boolean condition, ISqlSegment... sqlSegments) {
return typedThis;
}

@SuppressWarnings("all")
public String getParamAlias() {
return StringUtils.isEmpty(paramAlias) ? DEFAULT_PARAM_ALIAS : paramAlias;
}
Expand Down Expand Up @@ -471,6 +472,7 @@ protected String columnsToString(R... columns) {
protected abstract String columnToString(R column);

@Override
@SuppressWarnings("all")
public This clone() {
return SerializationUtils.clone(typedThis);
}
Expand Down

0 comments on commit 1e405b2

Please sign in to comment.