diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java index a7ef62574ed..924256d4cff 100644 --- a/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java +++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Model.java @@ -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 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 map ); + @Override Model withDefaultMappings( PrefixMapping map ); } diff --git a/jena-permissions/src/main/java/org/apache/jena/permissions/model/SecuredModel.java b/jena-permissions/src/main/java/org/apache/jena/permissions/model/SecuredModel.java index ba960734e9b..43d1685d391 100644 --- a/jena-permissions/src/main/java/org/apache/jena/permissions/model/SecuredModel.java +++ b/jena-permissions/src/main/java/org/apache/jena/permissions/model/SecuredModel.java @@ -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 map ); - SecuredModel withDefaultMappings( PrefixMapping map ); + @Override SecuredModel setNsPrefix( String prefix, String uri ); + @Override SecuredModel clearNsPrefixMap(); + @Override SecuredModel setNsPrefixes( PrefixMapping other ); + @Override SecuredModel setNsPrefixes( Map map ); + @Override SecuredModel withDefaultMappings( PrefixMapping map ); }