This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING] COMPILATION WARNING : | |
[INFO] ------------------------------------------------------------- | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[98,38] sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[296,34] sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[319,28] sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[321,28] sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[325,66] sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
[WARNING] /IdeaProjects/elasticsearch/src/main/java/jsr166e/Striped64.java:[326,32] sun.m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.2</version> | |
<configuration> | |
<compilerId>javac-with-errorprone</compilerId> | |
<forceJavacCompilerUse>true</forceJavacCompilerUse> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DivZero extends BugChecker | |
implements BinaryTreeMatcher, CompoundAssignmentTreeMatcher { | |
@Override | |
public Description matchBinary(BinaryTree tree, VisitorState state) { | |
return matchDivZero(tree, tree.getRightOperand(), state); | |
} | |
@Override | |
public Description matchCompoundAssignment(CompoundAssignmentTree tree, VisitorState state) { |
NewerOlder