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

Commit

Permalink
Fix the return type of put method in Builder<T> (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
magp3 authored and chemdrew committed Jan 20, 2019
1 parent 589c697 commit 39bcc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/src/main/java/io/aexp/nodes/graphql/InputObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static class Builder<T> {

private final Map<String, T> map = new HashMap<String, T>();

public Builder put(String key, T value) {
public Builder<T> put(String key, T value) {
map.put(key, value);
return this;
}
Expand Down

0 comments on commit 39bcc61

Please sign in to comment.