Skip to content

Commit bf3a79c

Browse files
committed
FileUtils: remove obsolete comment
The imagej-updater project no longer has any such regex, so there is nothing to keep in sync anymore.
1 parent 67d6543 commit bf3a79c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/java/org/scijava/util/FileUtils.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,7 @@ public static void writeFile(final File file, final byte[] bytes)
170170
}
171171
}
172172

173-
/**
174-
* A regular expression to match filenames containing version information.
175-
* <p>
176-
* This is kept synchronized with {@code imagej.updater.core.FileObject}.
177-
* </p>
178-
*/
173+
/** A regular expression to match filenames containing version information. */
179174
private final static Pattern versionPattern =
180175
Pattern
181176
.compile("(.+?)(-\\d+(\\.\\d+|\\d{7})+[a-z]?\\d?(-[A-Za-z0-9.]+?|\\.GA)*?)?((-(swing|swt|shaded|sources|javadoc|native))?(\\.jar(-[a-z]*)?))");

0 commit comments

Comments
 (0)