blob: 097f70b8a5f2474acf5f18e6a50a084fa71c8113 [file] [log] [blame]
package com.puppycrawl.tools.checkstyle.checks.descendanttoken;
public class InputDescendantTokenReturnFromFinally {
public void foo() {
try {
System.currentTimeMillis();
} finally {
return;
}
}
public void bar() {
try {
System.currentTimeMillis();
} finally {
if (System.currentTimeMillis() == 0) {
return; // return from if statement
}
}
}
public void thisNull() {
boolean result = (this == null) || (null == this);
boolean result2 = (this != null) && (null != this);
boolean result3 = (this.getClass().getName() == String.valueOf(null == System.getProperty("abc")));
}
}