Skip to content
Snippets Groups Projects
Commit 96a86728 authored by Lin Fan's avatar Lin Fan
Browse files

Update PassBook.java

parent d9b61126
No related branches found
No related tags found
No related merge requests found
Pipeline #5411 passed
......@@ -250,11 +250,11 @@ public class PassBook
Pair<String, String> pair = pt.get(url);
//if this returned nothing, the user does not have a login for this url
if (!(pair == null)) {
if (pair == null) {
throw new NoSuchURLException(passbookUsername, url);
}
return pair;
return pt;
}
//A simple label to improve code readability
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment