Fix PlayerAuth constructor calls
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user