Skip to content

Commit 1f2b8a3

Browse files
committed
Update PasswordCollection.java
1 parent 0cf88c0 commit 1f2b8a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunk/src/main/java/com/splunk/PasswordCollection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private Password getByUsername(String name) {
144144

145145
private Boolean checkForWildcards(){
146146
Boolean isWildCard = false;
147-
if(service.getOwner().equals("-") || service.getApp().equals("-")){
147+
if(("-").equals(service.getOwner()) || ("-").equals(service.getApp())){
148148
isWildCard = true;
149149
}
150150
return isWildCard;

0 commit comments

Comments
 (0)