Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PotatoPeeler3000 committed Mar 1, 2024
1 parent 15fdcf6 commit 36337ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/us/ihmc/tools/ResourceLoaderTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ public class ResourceLoaderTools
* Copies all files on the classpath in the given topLevelDirectories (packages) to the output stream in zip format
* Works only for classpaths pointing to the file system or .jar files
*
* @param os Outputstream to write zip file to
* @param os Output stream to write zip file to
* @param filter Include models that match the given filter. If null grab all models
* @param topLevelDirectories Directories (packages) to copy on the classPath
* @throws IOException If the files cannot be written to the zip file.
*/
// Pass in a Predicate<String> filter
public static void createZipBundle(OutputStream os, final Predicate<String> filter, String... topLevelDirectories) throws IOException
{
final ZipOutputStream stream = new ZipOutputStream(os);
Expand Down

0 comments on commit 36337ca

Please sign in to comment.