logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r385600 - in /logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j: CategoryTest.java FileAppenderTest.java
Date Mon, 13 Mar 2006 17:10:33 GMT
Author: carnold
Date: Mon Mar 13 09:10:31 2006
New Revision: 385600

URL: http://svn.apache.org/viewcvs?rev=385600&view=rev
Log:
Bug 35452: JDK 1.5 tweak

Modified:
    logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/CategoryTest.java
    logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/FileAppenderTest.java

Modified: logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/CategoryTest.java
URL: http://svn.apache.org/viewcvs/logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/CategoryTest.java?rev=385600&r1=385599&r2=385600&view=diff
==============================================================================
--- logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/CategoryTest.java (original)
+++ logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/CategoryTest.java Mon
Mar 13 09:10:31 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/branches/v1_2-branch/tests/src/java/org/apache/log4j/FileAppenderTest.java
URL: http://svn.apache.org/viewcvs/logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/FileAppenderTest.java?rev=385600&r1=385599&r2=385600&view=diff
==============================================================================
--- logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/FileAppenderTest.java
(original)
+++ logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/FileAppenderTest.java
Mon Mar 13 09:10:31 2006
@@ -59,7 +59,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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message