performance optimization

This commit is contained in:
woggioni committed 2017-11-21 23:03:34 +01:00
1 parent 294ffef8f5
commit cc12bd69db
1 file changed
+1 -1
@@ -307,9 +307,9 @@ public class PacmanWebService
try
{
FileOutputStream fos = new FileOutputStream(file);
byte[] buffer = new byte[4096];
while (true)
{
byte[] buffer = new byte[1024];
int size = input.read(buffer);
if (size < 0) break;
else fos.write(buffer, 0, size);