From 87ae1dfc8d8cb7b51d7bda4750ce841bbe691cfc Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sat, 7 May 2016 12:51:23 -0400 Subject: General changes --- .../src/main/java/bjc/utils/components/FileComponentRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java b/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java index bc1b990..e05afc0 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java +++ b/BJC-Utils2/src/main/java/bjc/utils/components/FileComponentRepository.java @@ -57,7 +57,7 @@ public class FileComponentRepository * The function to use to convert files to components */ public FileComponentRepository(File directory, - Function componentReader) { + Function componentReader) { if (!directory.isDirectory()) { throw new IllegalArgumentException("File " + directory + " is not a directory.\n" @@ -123,7 +123,7 @@ public class FileComponentRepository return "Components read from directory " + sourceDirectory + "."; } - private void loadComponent(Function componentReader, + private void loadComponent(Function componentReader, Path pth) { try { E component = componentReader.apply(pth.toFile()); -- cgit v1.2.3