Skip to content

Commit

Permalink
add @OverRide annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jaco0646 authored and ajs6f committed Mar 9, 2018
1 parent 036ebce commit b8b482e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions jena-core/src/main/java/org/apache/jena/rdf/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,10 @@ Remove all the statements matching (s, p, o) from this model.
public boolean isClosed();

// Override return type for methods inherited from PrefixMapping
Model setNsPrefix( String prefix, String uri );
Model removeNsPrefix( String prefix );
Model clearNsPrefixMap();
Model setNsPrefixes( PrefixMapping other );
Model setNsPrefixes( Map<String, String> map );
Model withDefaultMappings( PrefixMapping map );
@Override Model setNsPrefix( String prefix, String uri );
@Override Model removeNsPrefix( String prefix );
@Override Model clearNsPrefixMap();
@Override Model setNsPrefixes( PrefixMapping other );
@Override Model setNsPrefixes( Map<String, String> map );
@Override Model withDefaultMappings( PrefixMapping map );
}
Original file line number Diff line number Diff line change
Expand Up @@ -1894,9 +1894,9 @@ public SecuredModel write(final Writer writer, final String lang, final String b
throws ReadDeniedException, AuthenticationRequiredException;

// Override return type for methods inherited from PrefixMapping
SecuredModel setNsPrefix( String prefix, String uri );
SecuredModel clearNsPrefixMap();
SecuredModel setNsPrefixes( PrefixMapping other );
SecuredModel setNsPrefixes( Map<String, String> map );
SecuredModel withDefaultMappings( PrefixMapping map );
@Override SecuredModel setNsPrefix( String prefix, String uri );
@Override SecuredModel clearNsPrefixMap();
@Override SecuredModel setNsPrefixes( PrefixMapping other );
@Override SecuredModel setNsPrefixes( Map<String, String> map );
@Override SecuredModel withDefaultMappings( PrefixMapping map );
}

0 comments on commit b8b482e

Please sign in to comment.