This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jci.git
commit 5a5a8bb26ce2c8ab704f6be4033730a3bb249c15 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jul 9 14:26:58 2024 -0400 Add @Override Remove redundant parens --- .../org/apache/commons/jci2/core/CompilingClassLoaderTestCase.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/apache/commons/jci2/core/CompilingClassLoaderTestCase.java b/core/src/test/java/org/apache/commons/jci2/core/CompilingClassLoaderTestCase.java index eba7c8f..3864290 100644 --- a/core/src/test/java/org/apache/commons/jci2/core/CompilingClassLoaderTestCase.java +++ b/core/src/test/java/org/apache/commons/jci2/core/CompilingClassLoaderTestCase.java @@ -51,12 +51,13 @@ public final class CompilingClassLoaderTestCase extends AbstractTestCase { private final Log log = LogFactory.getLog(MockJavaCompiler.class); + @Override public CompilationResult compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore, final ClassLoader pClassLoader, final JavaCompilerSettings pSettings ) { for (final String resourcePath : pResourcePaths) { final byte[] resourceContent = pReader.getBytes(resourcePath); - log.debug("resource " + resourcePath + " = " + ((resourceContent!=null)?new String(resourceContent):null) ); + log.debug("resource " + resourcePath + " = " + (resourceContent!=null?new String(resourceContent):null) ); final byte[] data; @@ -89,17 +90,21 @@ public final class CompilingClassLoaderTestCase extends AbstractTestCase { return new CompilationResult(new CompilationProblem[0]); } + @Override public CompilationResult compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore, final ClassLoader pClassLoader) { return compile(pResourcePaths, pReader, pStore, pClassLoader, null); } + @Override public CompilationResult compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore) { return compile(pResourcePaths, pReader, pStore, null); } + @Override public void setCompilationProblemHandler(final CompilationProblemHandler pHandler) { } + @Override public JavaCompilerSettings createDefaultSettings() { return null; }