Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Fix missing throws clause
Dieser Commit ist enthalten in:
Ursprung
e690d88fa0
Commit
2ab84f3775
@ -24,7 +24,7 @@ public class NativeVelocityCipher implements VelocityCipher {
|
|||||||
private final boolean encrypt;
|
private final boolean encrypt;
|
||||||
private boolean disposed = false;
|
private boolean disposed = false;
|
||||||
|
|
||||||
private NativeVelocityCipher(boolean encrypt, SecretKey key) {
|
private NativeVelocityCipher(boolean encrypt, SecretKey key) throws GeneralSecurityException {
|
||||||
this.encrypt = encrypt;
|
this.encrypt = encrypt;
|
||||||
this.ctx = impl.init(key.getEncoded());
|
this.ctx = impl.init(key.getEncoded());
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren