Address JavaFormat Violations in Integration Tests Ad

Issue gh-743
This commit is contained in:
Josh Cummings
2023-05-09 16:08:47 -06:00
parent 2b3c181a14
commit d2fae7420c
2 changed files with 7 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
public class CompilerInterface {
public final class CompilerInterface {
// Compile the given file - when we can drop Java 5 we'll use the Java 6 compiler API
public static void compile(String directory, String file) throws Exception {
@@ -49,4 +49,8 @@ public class CompilerInterface {
}
}
private CompilerInterface() {
}
}

View File

@@ -138,7 +138,7 @@ public class IncrementalAttributeMapperITests extends AbstractJUnit4SpringContex
try {
this.ldapTemplate.lookup(OU_DN);
}
catch (NameNotFoundException e) {
catch (NameNotFoundException ex) {
// Nothing to cleanup
return;
}
@@ -149,7 +149,7 @@ public class IncrementalAttributeMapperITests extends AbstractJUnit4SpringContex
// Everything is deleted
return;
}
catch (SizeLimitExceededException e) {
catch (SizeLimitExceededException ex) {
// There's more to delete
}
}