jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1186146 [9/9] - in /incubator/jena/Jena2/ARQ/trunk: ./ .settings/ src-examples/arq/examples/bgpmatching/ src-examples/arq/examples/engine/ src-examples/arq/examples/filter/ src-examples/arq/examples/propertyfunction/ src/main/java/arq/ src...
Date Wed, 19 Oct 2011 12:15:16 GMT
Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/iterator/TestIter.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/iterator/TestIter.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/iterator/TestIter.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/iterator/TestIter.java
Wed Oct 19 12:15:05 2011
@@ -98,7 +98,8 @@ public class TestIter
     }
     
     static Iter.Folder<String, String> f1 = new Iter.Folder<String, String>()
{
-                                                 public String eval(String acc, String arg)
+                                                 @Override
+                                                public String eval(String acc, String arg)
                                                  {
                                                      return acc + arg ;
                                                  }
@@ -142,6 +143,7 @@ public class TestIter
     {
         Iterator<String> it = Iter.map(data2.iterator(), new Transform<String,String>()
         {
+            @Override
             public String convert(String item)
             {
                 return item + item;
@@ -155,6 +157,7 @@ public class TestIter
     {
         Iterator<String> it = Iter.mapMany(data2.iterator(), new Transform<String,Iterator<String>>()
         {
+            @Override
             public Iterator<String> convert(String item)
             {
                 List<String> l = new ArrayList<String>(2);
@@ -172,6 +175,7 @@ public class TestIter
     {
         Iterator<String> it = Iter.mapMany(data2.iterator(), new Transform<String,Iterator<String>>()
         {
+            @Override
             public Iterator<String> convert(String item)
             {
                 return Iter.nullIterator() ;
@@ -187,6 +191,7 @@ public class TestIter
         Iterator<String> it = Iter.mapMany(data2.iterator(), new Transform<String,Iterator<String>>()
         {
             int count = 0 ;
+            @Override
             public Iterator<String> convert(String item)
             {
                 count++ ;
@@ -206,6 +211,7 @@ public class TestIter
         Iterator<String> it = Iter.mapMany(data2.iterator(), new Transform<String,Iterator<String>>()
         {
             int count = 0 ;
+            @Override
             public Iterator<String> convert(String item)
             {
                 count++ ;
@@ -221,6 +227,7 @@ public class TestIter
 
 	
     Filter<String> filter = new Filter<String>() {
+        @Override
         public boolean accept(String item)
         {
             return item.length() == 1 ;
@@ -321,6 +328,7 @@ public class TestIter
     {
         Iterator<String> it = Iter.filter(data3, new Filter<String>()
         {
+            @Override
             public boolean accept(String item)
             {
                 return "x".equals(item) || "z".equals(item) ;
@@ -335,6 +343,7 @@ public class TestIter
     {
         Iterator<String> it = Iter.filter(data3, new Filter<String>()
         {
+            @Override
             public boolean accept(String item)
             {
                 return (null == item) || "x".equals(item) ;

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestAlarmClock.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestAlarmClock.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestAlarmClock.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestAlarmClock.java
Wed Oct 19 12:15:05 2011
@@ -24,7 +24,8 @@ import org.openjena.atlas.junit.BaseTest
 
 public class TestAlarmClock extends BaseTest
 {
-    Callback<?> callback = new Callback<Object>() { public void proc(Object arg)
{} } ; 
+    Callback<?> callback = new Callback<Object>() { @Override
+    public void proc(Object arg) {} } ; 
     
     @Test public void alarm_01()
     {

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache.java Wed
Oct 19 12:15:05 2011
@@ -41,7 +41,9 @@ public class TestCache extends BaseTest
     private static CacheMaker<Integer, Integer> simple = 
         new CacheMaker<Integer, Integer>()
         { 
+        @Override
         public Cache<Integer, Integer> make(int size) { return CacheFactory.createSimpleCache(size)
; }
+        @Override
         public String name() { return "Simple" ; } 
         } 
     ;
@@ -49,7 +51,9 @@ public class TestCache extends BaseTest
     private static CacheMaker<Integer, Integer> standard = 
         new CacheMaker<Integer, Integer>()
         {
+        @Override
         public Cache<Integer, Integer> make(int size) { return CacheFactory.createCache(size)
; }
+        @Override
         public String name() { return "Standard" ; } 
         }
     ;
@@ -57,7 +61,9 @@ public class TestCache extends BaseTest
     private static CacheMaker<Integer, Integer> syncStandard = 
         new CacheMaker<Integer, Integer>()
         {
+        @Override
         public Cache<Integer, Integer> make(int size) { return CacheFactory.createSync(standard.make(size))
; }
+        @Override
         public String name() { return "Sync Standard" ; } 
         }
     ;
@@ -65,11 +71,13 @@ public class TestCache extends BaseTest
     private static CacheMaker<Integer, Integer> stats = 
         new CacheMaker<Integer, Integer>()
         {
+        @Override
         public Cache<Integer, Integer> make(int size)
         { 
             Cache<Integer, Integer> c = CacheFactory.createCache(size) ;
             return new CacheStatsSimple<Integer, Integer>(c) ;
         }
+        @Override
         public String name() { return "Stats" ; }
         }
     ;
@@ -77,11 +85,13 @@ public class TestCache extends BaseTest
     private static CacheMaker<Integer, Integer> statsAtomic = 
         new CacheMaker<Integer, Integer>()
         {
+        @Override
         public Cache<Integer, Integer> make(int size)
         { 
             Cache<Integer, Integer> c = CacheFactory.createCache(size) ;
             return new CacheStatsAtomic<Integer, Integer>(c) ;
         }
+        @Override
         public String name() { return "StatsAtomic" ; }
         }
     ;

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache2.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache2.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache2.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestCache2.java Wed
Oct 19 12:15:05 2011
@@ -49,6 +49,7 @@ public class TestCache2 extends BaseTest
     }
     
     static Getter<Integer, String> getter = new Getter<Integer, String>() {
+        @Override
         public String get(Integer key)
         { return key.toString() ; }
     } ;

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestReverseComparator.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestReverseComparator.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestReverseComparator.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/atlas/lib/TestReverseComparator.java
Wed Oct 19 12:15:05 2011
@@ -32,6 +32,7 @@ public class TestReverseComparator exten
 {
     static Comparator<String> normal = new Comparator<String>()
     {
+        @Override
         public int compare(String o1, String o2)
         {
             return o1.compareTo(o2);
@@ -43,6 +44,7 @@ public class TestReverseComparator exten
     
     static Comparator<String> maxMin = new Comparator<String>()
     {
+        @Override
         public int compare(String o1, String o2)
         {
             int value = o1.compareTo(o2);

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/ErrorHandlerTestLib.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/ErrorHandlerTestLib.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/ErrorHandlerTestLib.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/ErrorHandlerTestLib.java
Wed Oct 19 12:15:05 2011
@@ -31,12 +31,15 @@ public class ErrorHandlerTestLib
 
     public static class ErrorHandlerEx implements ErrorHandler
     {
+        @Override
         public void warning(String message, long line, long col)
         { throw new ExWarning() ; }
     
+        @Override
         public void error(String message, long line, long col)
         { throw new ExError() ; }
     
+        @Override
         public void fatal(String message, long line, long col)
         { throw new ExFatal() ; }
     }
@@ -46,12 +49,15 @@ public class ErrorHandlerTestLib
     {
         public List<String> msgs = new ArrayList<String>() ;
     
+        @Override
         public void warning(String message, long line, long col)
         { msgs.add(message) ; }
     
+        @Override
         public void error(String message, long line, long col)
         { msgs.add(message) ; }
     
+        @Override
         public void fatal(String message, long line, long col)
         { msgs.add(message) ; throw new ExFatal() ; }
     }

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/TestParserFactory.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/TestParserFactory.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/TestParserFactory.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/TestParserFactory.java
Wed Oct 19 12:15:05 2011
@@ -41,10 +41,13 @@ public class TestParserFactory extends B
         int flushCalled = 0 ;
         int closeCalled = 0 ;
 
+        @Override
         public void send(T item)
         { things.add(item) ; }
 
+        @Override
         public void flush() { flushCalled ++ ; }
+        @Override
         public void close() { closeCalled++ ; }
         
         public T getLast()

Modified: incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/UnitTestSupressed.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/UnitTestSupressed.java?rev=1186146&r1=1186145&r2=1186146&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/UnitTestSupressed.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/test/java/org/openjena/riot/lang/UnitTestSupressed.java
Wed Oct 19 12:15:05 2011
@@ -26,11 +26,13 @@ public class UnitTestSupressed implement
     public UnitTestSupressed(String testName, Object object)
     {}
 
+    @Override
     public int countTestCases()
     {
         return 0 ;
     }
 
+    @Override
     public void run(TestResult arg0)
     {
         



Mime
View raw message