logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject svn commit: r1563115 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java
Date Fri, 31 Jan 2014 12:05:02 GMT
Author: rpopma
Date: Fri Jan 31 12:05:02 2014
New Revision: 1563115

URL: http://svn.apache.org/r1563115
Log:
removed @Override: must be absent to compile on Java 6

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java?rev=1563115&r1=1563114&r2=1563115&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java
Fri Jan 31 12:05:02 2014
@@ -122,8 +122,8 @@ public final class FactoryMethodConnecti
                     throw new UnsupportedOperationException();
                 }
 
-                // method must be present to compile on Java 7, @Override must be absent
to compile on Java 6
-                @Override
+                // method must be present to compile on Java 7!
+                // @Override must be absent to compile on Java 6!
                 @SuppressWarnings("unused")
                 public java.util.logging.Logger getParentLogger() {
                     throw new UnsupportedOperationException();



Mime
View raw message