Changeset 1032 for java/installer2/src/net/oni2/aeinstaller/gui/reporter
- Timestamp:
- Mar 15, 2016, 4:47:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/gui/reporter/ReporterDialog.java
r1011 r1032 217 217 Pattern packagePattern = Pattern.compile( 218 218 ".*/packages/[0-9]{5}[^/]*/.+", Pattern.CASE_INSENSITIVE); 219 Pattern jrePattern = Pattern.compile( 220 ".*/JRE/.+", Pattern.CASE_INSENSITIVE); 219 221 for (File flF : FileUtils.listFilesAndDirs( 220 222 Paths.getEditionBasePath(), TrueFileFilter.INSTANCE, … … 222 224 String name = flF.getAbsolutePath().substring(baseLength); 223 225 name = name.replace('\\', '/'); 224 if (!packagePattern.matcher(name).matches() ) {226 if (!packagePattern.matcher(name).matches() && !jrePattern.matcher(name).matches()) { 225 227 if (flF.isFile()) 226 228 fileList.append(name + "\t" + flF.length() + "\n");
Note:
See TracChangeset
for help on using the changeset viewer.