jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1186119 [12/12] - in /incubator/jena/Jena2/jena/trunk: ./ .settings/ src/main/java/com/hp/hpl/jena/ src/main/java/com/hp/hpl/jena/assembler/assemblers/ src/main/java/com/hp/hpl/jena/datatypes/ src/main/java/com/hp/hpl/jena/datatypes/xsd/ s...
Date Wed, 19 Oct 2011 11:47:53 GMT
Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/WGTestSuite.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/WGTestSuite.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/WGTestSuite.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/WGTestSuite.java
Wed Oct 19 11:47:05 2011
@@ -179,12 +179,14 @@ class WGTestSuite extends TestSuite impl
     private IRI testDir;
     
     private Act noop = new Act() {
+        @Override
         public void act(Resource r) {
         }
     };
     
     private Act semTest = new Act() {
-		  public void act(Resource r) {
+		  @Override
+        public void act(Resource r) {
 		  	if (doSemanticTests()){
 //		  		addTest(r, new ReasoningTest(r));
 		  	}
@@ -202,6 +204,7 @@ class WGTestSuite extends TestSuite impl
     {
         behaviours
             .put(new ResourceImpl(testNS + "PositiveParserTest"), new Act() {
+            @Override
             public void act(Resource r)  {
                 //		if (r.getProperty(status).getString().equals(approved))
                 //  if (r.getURI().endsWith("rdfms-xmllang/test004"))
@@ -214,6 +217,7 @@ class WGTestSuite extends TestSuite impl
         });
         behaviours
             .put(new ResourceImpl(testNS + "NegativeParserTest"), new Act() {
+            @Override
             public void act(Resource r)  {
                 //		if (r.getProperty(status).getString().equals(approved))
                 addTest(r, new NegativeTest(r));
@@ -230,6 +234,7 @@ class WGTestSuite extends TestSuite impl
 		        semTest);
         behaviours
             .put(new ResourceImpl(testNS + "MiscellaneousTest"), new Act() {
+            @Override
             public void act(Resource r) {
                 String uri = r.getURI();
                 if (!misc.contains(uri))
@@ -252,7 +257,8 @@ class WGTestSuite extends TestSuite impl
                 return null;
             in.close();
             m = loadRDF(new InFactoryX(){
-            	public InputStream open() throws IOException {
+            	@Override
+                public InputStream open() throws IOException {
             		return fact.fullyOpen(file);
             } }, null, base + file);
         } catch (JenaException e) {
@@ -452,7 +458,8 @@ class WGTestSuite extends TestSuite impl
                 return loadRDF(
                 new InFactoryX(){
 
-					public InputStream open() throws IOException {
+					@Override
+                    public InputStream open() throws IOException {
 						return factory.open(uri);
 					}
                 }
@@ -474,12 +481,15 @@ class WGTestSuite extends TestSuite impl
         	}
         }
         abstract void reallyRunTest();
+        @Override
         public void warning(Exception e) {
             error(0, e);
         }
+        @Override
         public void error(Exception e) {
             error(1, e);
         }
+        @Override
         public void fatalError(Exception e) {
             error(2, e);
         }
@@ -739,7 +749,8 @@ class WGTestSuite extends TestSuite impl
                 return loadRDF(
                 new InFactoryX(){
 
-					public InputStream open() throws IOException {
+					@Override
+                    public InputStream open() throws IOException {
 						return factory.open(uri);
 					}
                 }
@@ -748,14 +759,17 @@ class WGTestSuite extends TestSuite impl
             
         }
         
+        @Override
         public void warning(Exception e) {
             error(0, e);
         }
         
+        @Override
         public void error(Exception e) {
             error(1, e);
         }
         
+        @Override
         public void fatalError(Exception e) {
             error(2, e);
         }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/EventList.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/EventList.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/EventList.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/EventList.java
Wed Oct 19 11:47:05 2011
@@ -68,6 +68,7 @@ class EventList implements Attributes, C
         }
         
     }
+    @Override
     public int getLength() {
         int sz = 0;
         while (pos+sz < size && events[pos+sz].isAttribute())
@@ -77,36 +78,47 @@ class EventList implements Attributes, C
     private QName q(int i) {
         return ((AttrEvent)events[pos+i]).q;
     }
+    @Override
     public String getURI(int index) {
         return q(index).uri;
     }
+    @Override
     public String getLocalName(int index) {
         return q(index).localName;
     }
+    @Override
     public String getQName(int index) {
         return q(index).qName;
     }
+    @Override
     public String getType(int index) {
         return null;
     }
+    @Override
     public String getValue(int index) {
         return ((AttrEvent)events[pos+index]).value;
     }
+    @Override
     public int getIndex(String uri, String localName) {
         return -1;
     }
+    @Override
     public int getIndex(String qName) {
         return -1;
     }
+    @Override
     public String getType(String uri, String localName) {
         return null;
     }
+    @Override
     public String getType(String qName) {
         return null;
     }
+    @Override
     public String getValue(String uri, String localName) {
         return null;
     }
+    @Override
     public String getValue(String qName) {
         return null;
     }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestData.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestData.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestData.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestData.java
Wed Oct 19 11:47:05 2011
@@ -365,6 +365,7 @@ public class TestData implements ARPErro
     }
 
     Set<String> data = new TreeSet<String>(new Comparator<String>(){
+        @Override
         public int compare(String arg1, String arg2) {
             StringBuffer b1 = new StringBuffer(arg1).reverse();
             StringBuffer b2 = new StringBuffer(arg2).reverse();

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestFrame.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestFrame.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestFrame.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/arp/states/TestFrame.java
Wed Oct 19 11:47:05 2011
@@ -37,11 +37,13 @@ class TestFrame extends AbsXMLLiteral im
     public void endElement() {
     }
 
+    @Override
     public void theObject(ANode a) {
         oCount++;
 
     }
 
+    @Override
     public void aPredAndObj(ANode p, ANode o) {
         pCount++;
     }
@@ -61,6 +63,7 @@ class TestFrame extends AbsXMLLiteral im
         Assert.assertEquals("reification count",r.reify,rCount);   
     }
 
+    @Override
     public void makeSubjectReificationWith(ANode r) {
         rCount++;
     }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/AbstractTestModel.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/AbstractTestModel.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/AbstractTestModel.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/AbstractTestModel.java
Wed Oct 19 11:47:05 2011
@@ -35,7 +35,8 @@ public abstract class AbstractTestModel 
     public void testTransactions()
         { 
         Command cmd = new Command() 
-        	{ public Object execute() { return null; } };
+        	{ @Override
+            public Object execute() { return null; } };
         if (model.supportsTransactions()) model.executeInTransaction( cmd );
         }
         

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/RecordingModelListener.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/RecordingModelListener.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/RecordingModelListener.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/RecordingModelListener.java
Wed Oct 19 11:47:05 2011
@@ -22,36 +22,47 @@ public class RecordingModelListener impl
     {
     List<Object> history = new ArrayList<Object>();
     
+    @Override
     public void addedStatement( Statement s )
         { record( "add", s ); }
         
+    @Override
     public void addedStatements( Statement [] statements )
         { record( "add[]", Arrays.asList( statements ) ); }
         
+    @Override
     public void addedStatements( List<Statement> statements )
         { record( "addList", statements ); }
         
+    @Override
     public void addedStatements( StmtIterator statements )
         { record( "addIterator", GraphTestBase.iteratorToList( statements ) ); }
         
+    @Override
     public void addedStatements( Model m )
         { record( "addModel", m ); }
         
+    @Override
     public void removedStatements( Statement [] statements )
         { record( "remove[]", Arrays.asList( statements ) ); }
     
-   public void removedStatement( Statement s )
+   @Override
+public void removedStatement( Statement s )
         { record( "remove", s ); }
         
+    @Override
     public void removedStatements( List<Statement> statements )
         { record( "removeList", statements ); }
         
+    @Override
     public void removedStatements( StmtIterator statements )
         { record( "removeIterator", GraphTestBase.iteratorToList( statements ) ); }
         
+    @Override
     public void removedStatements( Model m )
         { record( "removeModel", m ); }
     
+    @Override
     public void notifyEvent( Model m, Object event )
         { record( "someEvent", m, event ); }
     

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java
Wed Oct 19 11:47:05 2011
@@ -691,7 +691,8 @@ public class TestList
             
             class MyApply implements RDFList.ApplyFn {
                String collect = "";
-               public void apply( RDFNode n ) {
+               @Override
+            public void apply( RDFNode n ) {
                    collect = collect + ((Resource) n).getLocalName();  
                } 
             }
@@ -715,7 +716,8 @@ public class TestList
             RDFList root = getListRoot( m );
             
             RDFList.ReduceFn f = new RDFList.ReduceFn() {
-               public Object reduce( RDFNode n, Object acc ) {
+               @Override
+            public Object reduce( RDFNode n, Object acc ) {
                    return ((String) acc) + ((Resource) n).getLocalName();  
                } 
             };
@@ -733,7 +735,8 @@ public class TestList
             m.read( "file:testing/ontology/list5.rdf" );
            
             RDFList root = getListRoot( m );
-            iteratorTest( root.mapWith( new Map1<RDFNode, String>() {public String
map1( RDFNode x ){return ((Resource) x).getLocalName();} } ), 
+            iteratorTest( root.mapWith( new Map1<RDFNode, String>() {@Override
+            public String map1( RDFNode x ){return ((Resource) x).getLocalName();} } ), 
                           new Object[] {"a","b","c","d","e"} );            
         }
     }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestModelMakerImpl.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestModelMakerImpl.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestModelMakerImpl.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestModelMakerImpl.java
Wed Oct 19 11:47:05 2011
@@ -134,53 +134,62 @@ public class TestModelMakerImpl extends 
         public MockGraphMaker( Graph graph )
             { this.graph = graph; }
 
+        @Override
         public ReificationStyle getReificationStyle()
             {
             history.add( "getReificationStyle()" );
             return null;
             }
 
+        @Override
         public Graph getGraph()
             {
             history.add( "get()" );
             return graph;
             }
 
+        @Override
         public Graph createGraph()
             {
             history.add( "create()" );
             return graph;
             }
 
+        @Override
         public Graph createGraph( String name, boolean strict )
             {
             history.add( "create(" + name + "," + strict + ")" );
             return graph;
             }
 
+        @Override
         public Graph createGraph( String name )
             {
             history.add( "create(" + name + ")" );
             return graph;
             }
 
+        @Override
         public Graph openGraph( String name, boolean strict )
             {
             history.add( "open(" + name + "," + strict + ")" );
             return graph;
             }
 
+        @Override
         public Graph openGraph( String name )
             {
             history.add( "open(" + name + ")" );
             return graph;
             }
 
+        @Override
         public void removeGraph( String name )
             {
             history.add( "remove(" + name + ")" );
             }
 
+        @Override
         public boolean hasGraph( String name )
             {
             history.add( "has(" + name + ")" );
@@ -205,17 +214,20 @@ public class TestModelMakerImpl extends 
             return desc;
             }
 
+        @Override
         public void close()
             {
             history.add( "close()" );
             }
 
+        @Override
         public ExtendedIterator<String> listGraphs()
             {
             history.add( "listModels()" );
             return NullIterator.instance();
             }
 
+        @Override
         public Graph openGraph()
             {
             

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFNodes.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFNodes.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFNodes.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFNodes.java
Wed Oct 19 11:47:05 2011
@@ -35,6 +35,7 @@ public class TestRDFNodes extends ModelT
     /* */
         RDFVisitor rv = new RDFVisitor() 
             {
+            @Override
             public Object visitBlank( Resource R, AnonId id )
                 { 
                 history.add( "blank" ); 
@@ -42,6 +43,7 @@ public class TestRDFNodes extends ModelT
                 assertEquals( "must have correct field", R.getId(), id );
                 return "blank result"; 
                 }
+            @Override
             public Object visitURI( Resource R, String uri )
                 { 
                 history.add( "uri" ); 
@@ -49,6 +51,7 @@ public class TestRDFNodes extends ModelT
                 assertEquals( "must have correct field", R.getURI(), uri );
                 return "uri result"; 
                 }
+            @Override
             public Object visitLiteral( Literal L )
                 { 
                 history.add( "literal" );

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFWriterMap.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFWriterMap.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFWriterMap.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestRDFWriterMap.java
Wed Oct 19 11:47:05 2011
@@ -55,9 +55,11 @@ public class TestRDFWriterMap extends Je
             setWriterClassName( NTRIPLES, Jena.PATH + ".rdf.model.impl.NTripleWriter" );
             }
 
+        @Override
         public RDFWriter getWriter()
             { return getWriter( "RDF/XML" ); }
 
+        @Override
         public RDFWriter getWriter( String lang )
             {
             Class<RDFWriter> result = map.get( lang );
@@ -69,6 +71,7 @@ public class TestRDFWriterMap extends Je
                 { throw new JenaException( e ); }
             }
 
+        @Override
         public String setWriterClassName( String lang, String className )
             {
             try

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestResourceFactory.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestResourceFactory.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestResourceFactory.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/rdf/model/test/TestResourceFactory.java
Wed Oct 19 11:47:05 2011
@@ -119,36 +119,44 @@ public class TestResourceFactory extends
             resource = r;
         }
 
+        @Override
         public Resource createResource() {
             return resource;
         }
 
+        @Override
         public Resource createResource(String uriref) {
             return null;
         }
         
+        @Override
         public Literal createPlainLiteral( String string ) {
             return null;
         }
 
+        @Override
         public Literal createTypedLiteral(String string, RDFDatatype datatype)
         {
             return null ;
         }
 
+        @Override
         public Literal createTypedLiteral(Object value)
         {
             return null ;
         }
 
+        @Override
         public Property createProperty(String uriref) {
             return null;
         }
 
+        @Override
         public Property createProperty(String namespace, String localName) {
             return null;
         }
 
+        @Override
         public Statement createStatement(
             Resource subject,
             Property predicate,

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/ConcurrencyTest.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/ConcurrencyTest.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/ConcurrencyTest.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/ConcurrencyTest.java
Wed Oct 19 11:47:05 2011
@@ -95,6 +95,7 @@ public class ConcurrencyTest  extends Te
         model.leaveCriticalSection();
 
         class QueryExecutingRunnable implements Runnable {
+            @Override
             @SuppressWarnings("unchecked")
             public void run() {
                 // Keep this thread running until the specified duration has expired
@@ -171,7 +172,8 @@ public class ConcurrencyTest  extends Te
     }
     
     public void testWithOWLMemMicroRuleInfModel() throws InterruptedException {
-        runConcurrencyTest(new ModelCreator() { public OntModel createModel() {
+        runConcurrencyTest(new ModelCreator() { @Override
+        public OntModel createModel() {
             return ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM_MICRO_RULE_INF);
         }}, "OWL_MEM_MICRO_RULE_INF");
     }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestBugs.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestBugs.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestBugs.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestBugs.java
Wed Oct 19 11:47:05 2011
@@ -857,6 +857,7 @@ public class TestBugs extends TestCase {
      * Used in implementing testGroundClosure.
      */
     private static class Flag extends BaseBuiltin {
+        @Override
         public String getName() {  return "flag";  }
         public boolean fired = false;
         @Override
@@ -895,6 +896,7 @@ public class TestBugs extends TestCase {
      * Builtin which generates an arbitrary Triple to for testing.
      */
     private static class SomeTriple extends BaseBuiltin {
+        @Override
         public String getName() {  return "someTriple";  }
         @Override
         public int getArgLength() { return 1; }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestComparatorBuiltins.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestComparatorBuiltins.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestComparatorBuiltins.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestComparatorBuiltins.java
Wed Oct 19 11:47:05 2011
@@ -119,18 +119,22 @@ public class TestComparatorBuiltins exte
     
     static class DummyRuleContext implements RuleContext {
 
+        @Override
         public BindingEnvironment getEnv() {
             return new BindingEnvironment() {
                 
+                @Override
                 public Triple instantiate(TriplePattern pattern) {
                     // TODO Auto-generated method stub
                     return null;
                 }
                 
+                @Override
                 public Node getGroundVersion(Node node) {
                     return node;
                 }
                 
+                @Override
                 public boolean bind(Node var, Node value) {
                     // TODO Auto-generated method stub
                     return false;
@@ -138,46 +142,55 @@ public class TestComparatorBuiltins exte
             };
         }
 
+        @Override
         public InfGraph getGraph() {
             // TODO Auto-generated method stub
             return null;
         }
 
+        @Override
         public Rule getRule() {
             // TODO Auto-generated method stub
             return null;
         }
 
+        @Override
         public void setRule(Rule rule) {
             // TODO Auto-generated method stub
             
         }
 
+        @Override
         public boolean contains(Triple t) {
             // TODO Auto-generated method stub
             return false;
         }
 
+        @Override
         public boolean contains(Node s, Node p, Node o) {
             // TODO Auto-generated method stub
             return false;
         }
 
+        @Override
         public ClosableIterator<Triple> find(Node s, Node p, Node o) {
             // TODO Auto-generated method stub
             return null;
         }
 
+        @Override
         public void silentAdd(Triple t) {
             // TODO Auto-generated method stub
             
         }
 
+        @Override
         public void add(Triple t) {
             // TODO Auto-generated method stub
             
         }
 
+        @Override
         public void remove(Triple t) {
             // TODO Auto-generated method stub
             

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestRETE.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestRETE.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestRETE.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestRETE.java
Wed Oct 19 11:47:05 2011
@@ -138,6 +138,7 @@ public class TestRETE  extends TestCase 
          * @param env a set of variable bindings for the rule being processed. 
          * @param isAdd distinguishes between add and remove operations.
          */
+        @Override
         public void fire(BindingVector env, boolean isAdd) {
             firings++;
             this.env = env;
@@ -149,6 +150,7 @@ public class TestRETE  extends TestCase 
          * @param netCopy a map from RETENodes to cloned instance so far.
          * @param context the new context to which the network is being ported
          */
+        @Override
         public RETENode clone(Map<RETENode, RETENode> netCopy, RETERuleContext context)
{
             // Dummy, not used in testing
             return this;

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestSetRules.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestSetRules.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestSetRules.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestSetRules.java
Wed Oct 19 11:47:05 2011
@@ -51,14 +51,17 @@ public class TestSetRules extends ModelT
             { assertEquals( TestSetRules.rules, rules );
             done.add( "addRules" ); }
     
+        @Override
         public Reasoner create(Resource configuration)
             { done.add( "create" );
             return reasoner; }
     
+        @Override
         public Model getCapabilities()
             { done.add( "capabilities" );
             return capabilities; }
     
+        @Override
         public String getURI()
             { done.add( "uri" );
             return uri; }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/WebOntTestHarness.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/WebOntTestHarness.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/WebOntTestHarness.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/WebOntTestHarness.java
Wed Oct 19 11:47:05 2011
@@ -200,6 +200,7 @@ public class WebOntTestHarness {
         for (int idir = 0; idir < TEST_DIRS.length; idir++) {
             File dir = new File(BASE_TESTDIR + TEST_DIRS[idir]);
             String[] manifests = dir.list(new FilenameFilter() {
+                    @Override
                     public boolean accept(File df, String name) {
                         if (name.startsWith("Manifest") && name.endsWith(".rdf"))
{
                             return includeModified || ! name.endsWith("-mod.rdf");

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/Regression.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/Regression.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/Regression.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/Regression.java
Wed Oct 19 11:47:05 2011
@@ -4869,6 +4869,7 @@ public class Regression extends Object {
 //    }
 
     @Deprecated public static class ResTestObjF implements ResourceF {
+        @Override
         public Resource createResource(Resource r)
             { return new ResourceImpl( r, (ModelCom) r.getModel() ); }
     }

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/TestCaseBasic.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/TestCaseBasic.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/TestCaseBasic.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/regression/TestCaseBasic.java
Wed Oct 19 11:47:05 2011
@@ -320,7 +320,8 @@ public class TestCaseBasic extends JenaT
 
 			Model cache[] = new Model[4];
 			int i = 4;
-			public Model get() {
+			@Override
+            public Model get() {
 				if (i == 4) {
 					try {
 						tearDown();

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/iterator/test/TestMapIterators.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/iterator/test/TestMapIterators.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/iterator/test/TestMapIterators.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/iterator/test/TestMapIterators.java
Wed Oct 19 11:47:05 2011
@@ -20,6 +20,7 @@ public class TestMapIterators extends Mo
         {
         Map1<String, String> map = new Map1<String, String>() 
             {
+            @Override
             public String map1( String o )
                 { return null; }
             };

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/junit/TestFactoryManifest.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/junit/TestFactoryManifest.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/junit/TestFactoryManifest.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/util/junit/TestFactoryManifest.java
Wed Oct 19 11:47:05 2011
@@ -61,6 +61,7 @@ public abstract class TestFactoryManifes
     protected TestSuite getTestSuite() { return currentTestSuite ; }
     
     /** Handle an item in a manifest */
+    @Override
     public final boolean processManifestItem(Resource manifest ,
                                        Resource item ,
                                        String testName ,

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/TestXMLFeatures.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/TestXMLFeatures.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/TestXMLFeatures.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/TestXMLFeatures.java
Wed Oct 19 11:47:05 2011
@@ -106,8 +106,10 @@ public class TestXMLFeatures extends XML
 		SimpleLogger old = null;
 		try {
 			old = BaseXMLWriter.setLogger(new SimpleLogger(){
-				public void warn(String s) {}
-				public void warn(String s, Exception e) {}
+				@Override
+                public void warn(String s) {}
+				@Override
+                public void warn(String s, Exception e) {}
 			});
 			m.write(new FileWriter(fileName), lang);
 			m1 = createMemModel();

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/XMLOutputTestBase.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/XMLOutputTestBase.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/XMLOutputTestBase.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/XMLOutputTestBase.java
Wed Oct 19 11:47:05 2011
@@ -31,8 +31,10 @@ public class XMLOutputTestBase extends M
     
     static SimpleLogger falseLogger = new SimpleLogger() 
         {
+        @Override
         public void warn(String s) { sawErrors = true; }
 
+        @Override
         public void warn(String s, Exception e) { sawErrors = true; }
         };
     

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/testWriterAndReader.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/testWriterAndReader.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/testWriterAndReader.java
(original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/com/hp/hpl/jena/xmloutput/testWriterAndReader.java
Wed Oct 19 11:47:05 2011
@@ -409,18 +409,21 @@ public class testWriterAndReader 
 	/** report a warning
 	 * @param e an exception representing the error
 	 */
-	public void warning(Exception e) {
+	@Override
+    public void warning(Exception e) {
 //		logger.warn( toString() + " " + e.getMessage(), e );
         System.out.println(new String(tmpOut.toString()));
         
 		throw new JenaException( e );
 	}
     
-	public void error(Exception e) {
+	@Override
+    public void error(Exception e) {
 		fail(e.getMessage());
 	}
 
-	public void fatalError(Exception e) {
+	@Override
+    public void fatalError(Exception e) {
 		error(e);
 		throw new JenaException(e);
 	}

Modified: incubator/jena/Jena2/jena/trunk/src/test/java/jena/test/rdfparse.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/src/test/java/jena/test/rdfparse.java?rev=1186119&r1=1186118&r2=1186119&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/src/test/java/jena/test/rdfparse.java (original)
+++ incubator/jena/Jena2/jena/trunk/src/test/java/jena/test/rdfparse.java Wed Oct 19 11:47:05
2011
@@ -18,6 +18,7 @@ public class rdfparse implements Command
     public rdfparse( boolean internetTest )
         { this.internetTest = internetTest; }
     
+    @Override
     public Object execute()
         { ARPTests.internet = internetTest;
 //        TestRunner.main( new String[] { "-noloading", ARPTests.class.getName()});



Mime
View raw message