Skip to content

Commit 14fb17d

Browse files
committed
Change to use equals instead of operator
1 parent 047a6ad commit 14fb17d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private boolean isRemoteRepository(RepoPath repoPath) {
126126

127127
LOG.debug("Found repository type: {}", repoType);
128128

129-
return repoType == "remote";
129+
return repoType.equals("remote");
130130
}
131131

132132
private boolean shouldTestContinuously() {

0 commit comments

Comments
 (0)