Skip to content

Commit 892d305

Browse files
committed
add Requester#with override for long value
1 parent fa16261 commit 892d305

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/org/kohsuke/github/Requester.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ public Requester with(String key, int value) {
134134
return _with(key, value);
135135
}
136136

137+
public Requester with(String key, long value) {
138+
return _with(key, value);
139+
}
140+
137141
public Requester with(String key, Integer value) {
138142
if (value!=null)
139143
_with(key, value);

0 commit comments

Comments
 (0)