Skip to content

Commit

Permalink
Fix checkstyle violation.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgruber committed Jun 12, 2013
1 parent 980e72a commit fb0ae12
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ static GraphAnalysisInjectBinding create(TypeElement type, boolean mustHaveInjec
List<? extends VariableElement> parameters = constructor.getParameters();
if (hasAtInject(enclosed)) {
if (hasAtSingleton(enclosed)) {
throw new IllegalArgumentException("Singleton annotations have no effect on " +
"constructors. Did you mean to annotate the class? " +
type.getQualifiedName().toString());
throw new IllegalArgumentException("Singleton annotations have no effect on "
+ "constructors. Did you mean to annotate the class? "
+ type.getQualifiedName().toString());
}
if (hasInjectConstructor) {
throw new IllegalArgumentException("Too many injectable constructors on "
Expand Down

0 comments on commit fb0ae12

Please sign in to comment.