Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchenxu committed Sep 19, 2019
1 parent a80d07f commit 64fb007
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public IBuildingForBehavior withAccess(final int access) {

@Override
public IBuildingForBehavior withEmptyParameterTypes() {
withParameterTypes.add(new String[]{});
withParameterTypes.add();
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ public static boolean IsSpecalMethodEnvet(Event event, String javaMethodeName){
public static boolean isSpecalMethod(Event event, String javaMethodeName){
if (event instanceof BeforeEvent){
BeforeEvent beforeEvent = (BeforeEvent) event;
if (beforeEvent.javaMethodName.equalsIgnoreCase(javaMethodeName)){
return true;
}
return beforeEvent.javaMethodName.equalsIgnoreCase(javaMethodeName);
}
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void methodOfArrayArguments(


@InheritedAnnotation
public void methodOfChildClassWithAnnotation() throws IllegalStateException, RuntimeException {
public void methodOfChildClassWithAnnotation() throws RuntimeException {

}

Expand Down

0 comments on commit 64fb007

Please sign in to comment.