Add GZIPOutputStream improvement
Dieser Commit ist enthalten in:
Ursprung
80416f3cdb
Commit
d6a8974439
@ -19,7 +19,7 @@ public class FileRecorder extends Recorder {
|
|||||||
File file = new File(FightSystem.getPlugin().getDataFolder(), "recording");
|
File file = new File(FightSystem.getPlugin().getDataFolder(), "recording");
|
||||||
try{
|
try{
|
||||||
file.createNewFile();
|
file.createNewFile();
|
||||||
outputStream = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file)));
|
outputStream = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file), 4096));
|
||||||
}catch(IOException e){
|
}catch(IOException e){
|
||||||
throw new SecurityException("Could not open file", e);
|
throw new SecurityException("Could not open file", e);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren