mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 11:54:54 +00:00
java source code formatting
This commit is contained in:
@@ -462,7 +462,7 @@ public class Helper {
|
||||
while ((cnt = is.read(buf)) > 0) {
|
||||
os.write(buf, 0, cnt);
|
||||
maxLength -= cnt;
|
||||
|
||||
|
||||
// last chunk is smaller
|
||||
if (maxLength < bufSize) {
|
||||
buf = new byte[(int) maxLength];
|
||||
@@ -472,7 +472,7 @@ public class Helper {
|
||||
Logger.getLogger(Helper.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static void writeFile(String file, byte[]
|
||||
... data) {
|
||||
try (FileOutputStream fos = new FileOutputStream(file)) {
|
||||
|
||||
Reference in New Issue
Block a user