Skip to content

Commit

Permalink
Prefer use of getter
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebFenton committed Oct 16, 2018
1 parent b6eedc4 commit 3fb5b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public boolean isSafe(String typeSignature) {
String[] parts = typeSignature.split("->");
String className = parts[0];

if (safeClasses.contains(className) && !unsafeMethods.contains(typeSignature)) {
if (safeClasses.contains(className) && !isUnsafeMethod(typeSignature)) {
return true;
}

Expand Down

0 comments on commit 3fb5b53

Please sign in to comment.