Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
feat(Parameter): re-use public toString method
Browse files Browse the repository at this point in the history
Avoid code duplication
  • Loading branch information
mkalen committed Oct 29, 2018
1 parent 1626565 commit a9ab7c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nodes/src/main/java/io/aexp/nodes/graphql/Parameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ public void setValue(T value) {

@Override
public String toString() {
return "Parameter{" +
"key='" + key + '\'' +
", value=" + value +
'}';
return toString("Parameter");
}

String toString(String name) {
Expand Down

0 comments on commit a9ab7c1

Please sign in to comment.