Fix PlayerAuth constructor calls

This commit is contained in:
games647
2015-10-03 18:22:13 +02:00
parent 4c2348e6e3
commit e9f299fca8
16 changed files with 1115 additions and 1128 deletions
@@ -33,10 +33,10 @@ public class PHPFUSION implements EncryptionMethod {
hash.append(hex);
}
digest = hash.toString();
} catch (UnsupportedEncodingException e) {
} catch (InvalidKeyException e) {
} catch (NoSuchAlgorithmException e) {
} catch (UnsupportedEncodingException | InvalidKeyException | NoSuchAlgorithmException e) {
//ingore
}
return digest;
}
@@ -44,7 +44,7 @@ public class XF implements EncryptionMethod {
}
public String regmatch(String pattern, String line) {
List<String> allMatches = new ArrayList<String>();
List<String> allMatches = new ArrayList<>();
Matcher m = Pattern.compile(pattern).matcher(line);
while (m.find()) {
allMatches.add(m.group(1));