Skip to content

Commit

Permalink
Verbiage update for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed May 8, 2013
1 parent eaead44 commit bb19372
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class FacetFactoryImpl implements FacetFactory
@Override
public <FACET extends Facet<E>, E extends Faceted<? extends Facet<?>>> FACET create(Class<FACET> type)
{
Assert.notNull(type, "Facet type should not be null");
Assert.notNull(type, "Facet type must not be null.");
ExportedInstance<FACET> instance = registry.getExportedInstance(type);
return instance.get();
}
Expand All @@ -45,7 +45,7 @@ public <FACET extends Facet<E>, E extends Faceted<? extends Facet<?>>> FACET cre
@Override
public <FACET extends Facet<E>, E extends Faceted<? extends Facet<?>>> Iterable<FACET> createFacets(Class<FACET> type)
{
Assert.notNull(type, "Facet type should not be null");
Assert.notNull(type, "Facet type must not be null.");
Set<ExportedInstance<FACET>> instances = registry.getExportedInstances(type);
Set<FACET> facets = new HashSet<FACET>(instances.size());
for (ExportedInstance<FACET> instance : instances)
Expand Down

0 comments on commit bb19372

Please sign in to comment.