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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to