commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1309977 [2/2] - in /commons/proper/lang/trunk/src: main/java/org/apache/commons/lang3/ main/java/org/apache/commons/lang3/builder/ main/java/org/apache/commons/lang3/concurrent/ main/java/org/apache/commons/lang3/event/ main/java/org/apach...
Date Thu, 05 Apr 2012 17:53:41 GMT
Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventUtilsTest.java?rev=1309977&r1=1309976&r2=1309977&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventUtilsTest.java
Thu Apr  5 17:53:39 2012
@@ -83,6 +83,7 @@ public class EventUtilsTest extends Test
         {
             EventUtils.addEventListener(src, PropertyChangeListener.class, new PropertyChangeListener()
             {
+                @Override
                 public void propertyChange(PropertyChangeEvent e)
                 {
                     // Do nothing!
@@ -201,6 +202,7 @@ public class EventUtilsTest extends Test
             return count == null ? 0 : count.intValue();
         }
 
+        @Override
         public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
         {
             Integer count = eventCounts.get(method.getName());

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java?rev=1309977&r1=1309976&r2=1309977&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
Thu Apr  5 17:53:39 2012
@@ -115,10 +115,12 @@ public class MethodUtilsTest {
     }
 
     private static class TestMutable implements Mutable<Object> {
+        @Override
         public Object getValue() {
             return null;
         }
 
+        @Override
         public void setValue(Object value) {
         }
     }

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java?rev=1309977&r1=1309976&r2=1309977&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
Thu Apr  5 17:53:39 2012
@@ -412,6 +412,7 @@ public class ExtendedMessageFormatTest e
      */
     private static class LowerCaseFormatFactory implements FormatFactory {
         private static final Format LOWER_INSTANCE = new LowerCaseFormat();
+        @Override
         public Format getFormat(String name, String arguments, Locale locale) {
             return LOWER_INSTANCE;
         }
@@ -421,6 +422,7 @@ public class ExtendedMessageFormatTest e
      */
     private static class UpperCaseFormatFactory implements FormatFactory {
         private static final Format UPPER_INSTANCE = new UpperCaseFormat();
+        @Override
         public Format getFormat(String name, String arguments, Locale locale) {
             return UPPER_INSTANCE;
         }
@@ -429,6 +431,7 @@ public class ExtendedMessageFormatTest e
      * {@link FormatFactory} implementation to override date format "short" to "default".
      */
     private static class OverrideShortDateFormatFactory implements FormatFactory {
+        @Override
         public Format getFormat(String name, String arguments, Locale locale) {
             return !"short".equals(arguments) ? null
                     : locale == null ? DateFormat

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java?rev=1309977&r1=1309976&r2=1309977&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
Thu Apr  5 17:53:39 2012
@@ -281,6 +281,7 @@ public class FastDateFormatTest {
         
         for(int i= 0; i<NTHREADS; ++i) {
             pool.submit(new Runnable() {
+                @Override
                 public void run() {
                     for(int i= 0; i<NROUNDS; ++i) {
                         try {



Mime
View raw message