Changeset 61810b7


Ignore:
Timestamp:
Dec 18, 2011 1:28:57 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
78229227
Parents:
fb4d85f
Message:

tweaks

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/DataHelper.java

    rfb4d85f r61810b7  
    441441                out.println(name + "=" + val);
    442442            }
    443             out.flush();
    444             out.close();
    445443        } finally {
    446444            if (out != null) out.close();
  • core/java/src/net/i2p/util/FileUtil.java

    rfb4d85f r61810b7  
    373373        if (!targetStr.startsWith(rootDirStr)) throw new FileNotFoundException("Requested file is outside the root dir: " + path);
    374374
    375         byte buf[] = new byte[1024];
     375        byte buf[] = new byte[4*1024];
    376376        FileInputStream in = null;
    377377        try {
Note: See TracChangeset for help on using the changeset viewer.