Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Feb 1, 2016
2 parents 5159e1b + d3babd1 commit c0dc6bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ private void checkClassMethod(final DetailAST method) {
}
if (!AnnotationUtility.containsAnnotation(method, "Override")
&& !isInAbstractOrNativeMethod(method)
&& !method.branchContains(TokenTypes.LITERAL_THIS)) {
&& !method.branchContains(TokenTypes.LITERAL_THIS)
&& !method.branchContains(TokenTypes.LITERAL_THROW)) {
final int line = method.getLineNo();
this.log(
line,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ public void someOverrideMethod() {

// this method is not static, but it is native
public native void someNativeMethod();

public void someUnimplementedMethod() {
// this method is not yet implemented
throw new UnsupportedOperationException();
}
}

0 comments on commit c0dc6bb

Please sign in to comment.