From 27bf571d6413c3cc6a5d664b5bddd38d21d7b1cd Mon Sep 17 00:00:00 2001 From: EVE Date: Mon, 13 Mar 2017 16:42:21 -0400 Subject: Formatting --- .../main/java/bjc/utils/funcutils/FileUtils.java | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcutils/FileUtils.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcutils/FileUtils.java b/BJC-Utils2/src/main/java/bjc/utils/funcutils/FileUtils.java index 6fc09ff..35a6b3d 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/funcutils/FileUtils.java +++ b/BJC-Utils2/src/main/java/bjc/utils/funcutils/FileUtils.java @@ -18,24 +18,23 @@ public class FileUtils { * * * @param root - * The directory to start the traversal at + * The directory to start the traversal at * @param predicate - * The predicate to determine whether or not to traverse a - * directory + * The predicate to determine whether or not to traverse + * a directory * @param action - * The action to invoke upon each file in the directory. - * Returning true means to continue the traversal, returning - * false stops it + * The action to invoke upon each file in the directory. + * Returning true means to continue the traversal, + * returning false stops it * @throws IOException - * if the walk throws an exception + * if the walk throws an exception * - * TODO If it becomes necessary, write another overload for - * this with all the buttons and knobs from walkFileTree + * TODO If it becomes necessary, write another overload + * for this with all the buttons and knobs from + * walkFileTree */ - public static void traverseDirectory(Path root, - BiPredicate predicate, - BiPredicate action) - throws IOException { + public static void traverseDirectory(Path root, BiPredicate predicate, + BiPredicate action) throws IOException { Files.walkFileTree(root, new FunctionalFileVisitor(predicate, action)); } } -- cgit v1.2.3