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

Update PassBook.java

parent aa661d7b
No related branches found
No related tags found
No related merge requests found
Pipeline #5637 passed
...@@ -96,10 +96,10 @@ public class PassBook ...@@ -96,10 +96,10 @@ public class PassBook
if ('a' <= passphrase.charAt(i) && passphrase.charAt(i) <= 'z') { if ('a' <= passphrase.charAt(i) && passphrase.charAt(i) <= 'z') {
containsLowerCase = true; containsLowerCase = true;
} }
else if ('A' <= passphrase.charAt(i) && passphrase.charAt(i) <= 'Z') { else if ('A' <= passphrase.charAt(i) && passphrase.charAt(i) < 'Z') {
containsUpperCase = true; containsUpperCase = true;
} }
else if ('0' <= passphrase.charAt(i) && passphrase.charAt(i) = '9') { else if ('0' <= passphrase.charAt(i) && passphrase.charAt(i) <= '9') {
containsNumber = true; containsNumber = true;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment