Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.     public boolean isLicenseValid(String email, String license) {
  2.  
  3.         if (email == null || license == null) {
  4.             return false;
  5.         }
  6.  
  7.         // Little point in doing anything more fancy, since there are
  8.         // easier ways to disable the nag messages.
  9.         return license.equalsIgnoreCase(StringUtil.md5Hex(email.toLowerCase()));
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement