Skip to content

Commit

Permalink
Making method ready for JDK8+
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 13, 2015
1 parent 80550f9 commit b14fc15
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ public static <FACETEDTYPE extends Faceted<FACETTYPE>, FACETTYPE extends Facet<F
* Inspect the given {@link Class} for all {@link FacetConstraintType#REQUIRED} dependency {@link Facet} types. This
* method inspects the entire constraint tree.
*/
public static <FACETEDTYPE extends Faceted<FACETTYPE>, FACETTYPE extends Facet<FACETEDTYPE>> Set<Class<FACETTYPE>> getAllRequiredFacets(
final Class<FACETTYPE> inspectedType)
public static <FACETTYPE extends Facet<?>> Set<Class<FACETTYPE>> getAllRequiredFacets(final Class<?> inspectedType)
{
Set<Class<FACETTYPE>> seen = new LinkedHashSet<Class<FACETTYPE>>();
return getAllRelatedFacets(seen, inspectedType, FacetConstraintType.REQUIRED);
Expand Down

0 comments on commit b14fc15

Please sign in to comment.