Changeset 4059
- Timestamp:
- Dec 14, 2007, 9:55:01 AM (15 years ago)
- Location:
- branches/2.5-stable/src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5-stable/src/core/net/sf/basedb/util/zip/TarFilePacker.java
r3675 r4059 97 97 if (lastModified > 0) entry.setModTime(lastModified); 98 98 entry.setSize(size); 99 tar.putNextEntry(entry);99 TarUtil.putNextEntry(entry, tar); 100 100 if (!isDirectory) FileUtil.copy(in, tar); 101 101 tar.closeEntry(); -
branches/2.5-stable/src/plugins/core/net/sf/basedb/plugins/TarFileUnpacker.java
r4051 r4059 54 54 import net.sf.basedb.util.Values; 55 55 import net.sf.basedb.util.zip.AbstractFileUnpacker; 56 import net.sf.basedb.util.zip.TarUtil; 56 57 57 58 /** … … 161 162 long totalUnpacked = 0; 162 163 int numFiles = 0; 163 while ((entry = tarStream.getNextEntry()) != null)164 while ((entry = TarUtil.getNextEntry(tarStream)) != null) 164 165 { 165 166 String subPath = entry.getName();
Note: See TracChangeset
for help on using the changeset viewer.