logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1580505 - in /logging/log4j/log4j2/trunk: log4j-api/src/main/java/org/apache/logging/log4j/spi/ log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/ log4j-core/src/main/java/org/apache/logging/log4j/core/config/ log4j-j...
Date Sun, 23 Mar 2014 14:20:19 GMT
Author: ggregory
Date: Sun Mar 23 14:20:18 2014
New Revision: 1580505

URL: http://svn.apache.org/r1580505
Log:
Add missing '@Override' annotations.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/db/jdbc/FactoryMethodConnectionSource.java
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
    logging/log4j/log4j2/trunk/log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGUI.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java?rev=1580505&r1=1580504&r2=1580505&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
Sun Mar 23 14:20:18 2014
@@ -999,6 +999,7 @@ public abstract class AbstractLogger imp
      * @param marker A Marker or null.
      * @return boolean - {@code true} if this Logger is enabled for level, {@code false}
otherwise.
      */
+    @Override
     public boolean isEnabled(final Level level, final Marker marker) {
         return isEnabled(level, marker, (Object) null, null);
     }

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=1580505&r1=1580504&r2=1580505&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
Sun Mar 23 14:20:18 2014
@@ -124,6 +124,7 @@ public final class FactoryMethodConnecti
 
                 // method must be present to compile on Java 7!
                 // @Override must be absent to compile on Java 6!
+                @Override
                 @SuppressWarnings("unused")
                 public java.util.logging.Logger getParentLogger() {
                     throw new UnsupportedOperationException();

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java?rev=1580505&r1=1580504&r2=1580505&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
Sun Mar 23 14:20:18 2014
@@ -451,6 +451,7 @@ public class BaseConfiguration extends A
      * Adds an Appender to the configuration.
      * @param appender The Appender to add.
      */
+    @Override
     public void addAppender(final Appender appender) {
         appenders.putIfAbsent(appender.getName(), appender);
     }
@@ -626,6 +627,7 @@ public class BaseConfiguration extends A
      * @param name The name of the Logger.
      * @param loggerConfig The LoggerConfig.
      */
+    @Override
     public synchronized void addLogger(final String name, final LoggerConfig loggerConfig)
{
         loggers.putIfAbsent(name, loggerConfig);
         setParents();
@@ -636,6 +638,7 @@ public class BaseConfiguration extends A
      *
      * @param name The name of the Logger.
      */
+    @Override
     public synchronized void removeLogger(final String name) {
         loggers.remove(name);
         setParents();

Modified: logging/log4j/log4j2/trunk/log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGUI.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGUI.java?rev=1580505&r1=1580504&r2=1580505&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGUI.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-jmx-gui/src/main/java/org/apache/logging/log4j/jmx/gui/ClientGUI.java
Sun Mar 23 14:20:18 2014
@@ -178,6 +178,7 @@ public class ClientGUI extends JPanel im
     @Override
     public void handleNotification(final Notification notif, final Object paramObject) {
         SwingUtilities.invokeLater(new Runnable() {
+            @Override
             public void run() { // LOG4J2-538
                 handleNotificationInAWTEventThread(notif, paramObject);
             }



Mime
View raw message