Skip to content

Commit

Permalink
minor code simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltconax committed Oct 6, 2015
1 parent 1eb2ccc commit 2dacde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feather/src/main/java/org/codejargon/feather/Key.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public int hashCode() {

@Override
public String toString() {
String suffix = name != null ? String.format("@\"%s\"", name) : qualifier != null ? "@" + qualifier.getSimpleName() : "";
String suffix = name != null ? "@\"" + name + "\"" : qualifier != null ? "@" + qualifier.getSimpleName() : "";
return type.getName() + suffix;
}

Expand Down

0 comments on commit 2dacde6

Please sign in to comment.