Author: carnold Date: Mon Mar 13 08:58:53 2006 New Revision: 385597 URL: http://svn.apache.org/viewcvs?rev=385597&view=rev Log: Bug 35452: JDK 1.5 tweak
Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/CategoryTest.java logging/log4j/trunk/tests/src/java/org/apache/log4j/FileAppenderTest.java Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/CategoryTest.java URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/tests/src/java/org/apache/log4j/CategoryTest.java?rev=385597&r1=385596&r2=385597&view=diff ============================================================================== --- logging/log4j/trunk/tests/src/java/org/apache/log4j/CategoryTest.java (original) +++ logging/log4j/trunk/tests/src/java/org/apache/log4j/CategoryTest.java Mon Mar 13 08:58:53 2006 @@ -51,7 +51,7 @@ * @throws Exception thrown if Category.getChainedPriority can not be found. */ public void testGetChainedPriorityReturnType() throws Exception { - Method method = Category.class.getMethod("getChainedPriority", null); + Method method = Category.class.getMethod("getChainedPriority", (Class[]) null); assertTrue(method.getReturnType() == Priority.class); } Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/FileAppenderTest.java URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/tests/src/java/org/apache/log4j/FileAppenderTest.java?rev=385597&r1=385596&r2=385597&view=diff ============================================================================== --- logging/log4j/trunk/tests/src/java/org/apache/log4j/FileAppenderTest.java (original) +++ logging/log4j/trunk/tests/src/java/org/apache/log4j/FileAppenderTest.java Mon Mar 13 08:58:53 2006 @@ -76,7 +76,7 @@ * @throws Exception */ public void testGetThresholdReturnType() throws Exception { - Method method = FileAppender.class.getMethod("getThreshold", null); + Method method = FileAppender.class.getMethod("getThreshold", (Class[]) null); assertTrue(method.getReturnType() == Priority.class); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]