Skip to content

Commit

Permalink
BESU-56: remove erroneous links to errorprone checks (hyperledger#385)
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
  • Loading branch information
atoulme committed Feb 12, 2020
1 parent 21e02b1 commit 358458d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
@BugPattern(
name = "BannedMethod",
summary = "Some methods should not be used, make sure that doesn't happen.",
severity = WARNING)
severity = WARNING,
linkType = BugPattern.LinkType.NONE)
public class BannedMethod extends BugChecker implements MethodInvocationTreeMatcher {

private static final ImmutableMap<Matcher<ExpressionTree>, String> BANNED_METHOD_LIST =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
@BugPattern(
name = "DoNotCreateSecureRandomDirectly",
summary = "Do not create SecureRandom directly.",
severity = WARNING)
severity = WARNING,
linkType = BugPattern.LinkType.NONE)
public class DoNotCreateSecureRandomDirectly extends BugChecker
implements MethodInvocationTreeMatcher, NewClassTreeMatcher {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
@BugPattern(
name = "DoNotInvokeMessageDigestDirectly",
summary = "Do not invoke MessageDigest.getInstance directly.",
severity = WARNING)
severity = WARNING,
linkType = BugPattern.LinkType.NONE)
public class DoNotInvokeMessageDigestDirectly extends BugChecker
implements MethodInvocationTreeMatcher {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
@BugPattern(
name = "DoNotReturnNullOptionals",
summary = "Do not return null optionals.",
severity = SUGGESTION)
severity = SUGGESTION,
linkType = BugPattern.LinkType.NONE)
public class DoNotReturnNullOptionals extends BugChecker implements MethodTreeMatcher {

private static class ReturnNullMatcher implements Matcher<Tree> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
@BugPattern(
name = "MethodInputParametersMustBeFinal",
summary = "Method input parameters must be final.",
severity = WARNING)
severity = WARNING,
linkType = BugPattern.LinkType.NONE)
public class MethodInputParametersMustBeFinal extends BugChecker
implements MethodTreeMatcher, ClassTreeMatcher {

Expand Down

0 comments on commit 358458d

Please sign in to comment.