Change for Apache Commons Compress based on Apache Harmony.
Thanks to Peter Lee
@@ -168,7 +168,9 @@ private List splitIntoSegments(List packingFileList) throws IOException,
files = new ArrayList();
}
}
- if (classes.size() > 0 && files.size() > 0) {
+ // Change for Apache Commons Compress based on Apache Harmony.
+ // if (classes.size() > 0 && files.size() > 0) {
+ if (classes.size() > 0 || files.size() > 0) {
segmentUnitList.add(new SegmentUnit(classes, files));
}
return segmentUnitList;
