Skip to content
Browse files

NEXUS-5511: Applied Ben's comment and cleanup.

Such as removal of punctuation
  • Loading branch information...
1 parent 904d88e commit 557256ba8fd762e1b063084dccdc1929f4a73141 @cstamas cstamas committed Apr 30, 2013
View
8 nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/AbstractRepository.java
@@ -674,7 +674,7 @@ public StorageItem retrieveItem( ResourceStoreRequest request )
getId() + " retrieveItem() :: FOUND a collection on " + request.toString()
+ " but repository is not Browseable." );
- throw new ItemNotFoundException( reasonFor( request, this, "Repository %s is not browsable.",
+ throw new ItemNotFoundException( reasonFor( request, this, "Repository %s is not browsable",
this ) );
}
@@ -772,7 +772,7 @@ public void createCollection( ResourceStoreRequest request, Map<String, String>
}
else
{
- throw new ItemNotFoundException( reasonFor( request, this, "Repository %s is not browsable!", this ) );
+ throw new ItemNotFoundException( reasonFor( request, this, "Repository %s is not browsable", this ) );
}
return items;
@@ -1142,7 +1142,7 @@ public void storeItem( boolean fromTask, StorageItem item )
}
else
{
- throw new ItemNotFoundException( reasonFor( request, this, "Path %s in repository %s is not a collection.",
+ throw new ItemNotFoundException( reasonFor( request, this, "Path %s in repository %s is not a collection",
request.getRequestPath(), this ) );
}
}
@@ -1216,7 +1216,7 @@ public void maintainNotFoundCache( ResourceStoreRequest request )
}
throw new ItemNotFoundException( reasonFor( request, this,
- "The path %s is in NFC of repository %s.", request.getRequestPath(), this ) );
+ "The path %s is still cached as not found for repository %s", request.getRequestPath(), this ) );
}
}
}

0 comments on commit 557256b

Please sign in to comment.
Something went wrong with that request. Please try again.