Reformating to fix checkstyle.

This commit is contained in:
Jindra Petřík
2024-08-08 19:27:14 +02:00
parent a5d3ce4f9b
commit f3da12e032
2432 changed files with 39110 additions and 44808 deletions
@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
@@ -81,7 +81,9 @@ public class HarmanBinaryDataEncrypt {
System.arraycopy(keyBytes, 0, result, 16, 16);
System.arraycopy(encryptedBytes, 0, result, 32, encryptedDataLen);
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException ex) {
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException
| NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException
| NoSuchPaddingException ex) {
result = null;
}
return result;
@@ -170,7 +172,9 @@ public class HarmanBinaryDataEncrypt {
byte[] ret = new byte[(int) decryptedLen];
System.arraycopy(decryptedBytes, 0, ret, 0, (int) decryptedLen);
return ret;
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException ex) {
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException
| NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException
| NoSuchPaddingException ex) {
return null;
}
}
@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
@@ -35,8 +35,9 @@ import javax.crypto.spec.SecretKeySpec;
/**
* Harman SWF encryption/decryption.
* @author JPEXS
*
* @author JPEXS
* <p>
* Based on swfdecrypt.py by NathaanTFM
*/
public class HarmanSwfEncrypt {
@@ -1,4 +1,4 @@
/**
* Harman.
*/
package com.jpexs.decompiler.flash.harman;
package com.jpexs.decompiler.flash.harman;