Skip to content

Commit

Permalink
Don't rely on Java8-style type inferencing
Browse files Browse the repository at this point in the history
  • Loading branch information
cgruber committed Feb 4, 2015
1 parent 586184d commit 939c09f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -170,7 +170,7 @@ private ComponentDescriptor create(TypeElement componentDefinitionType, Kind kin
Optional<TypeElement> executorDependency =
kind.equals(Kind.PRODUCTION_COMPONENT)
? Optional.of(elements.getTypeElement(Executor.class.getCanonicalName()))
: Optional.absent();
: Optional.<TypeElement>absent();

ImmutableSet<ExecutableElement> unimplementedMethods =
getUnimplementedMethods(elements, componentDefinitionType);
Expand Down

0 comments on commit 939c09f

Please sign in to comment.