Skip to content

Commit 012643a

Browse files
authored
Merge pull request hub4j#413 from ThomasCookOnline/fix_version
fix issues
2 parents dccb43f + 1a8355e commit 012643a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ public class GHDeployKey {
88

99
protected String url, key, title;
1010
protected boolean verified;
11-
protected int id;
11+
protected long id;
1212
private GHRepository owner;
1313

14-
public int getId() {
14+
public long getId() {
1515
return id;
1616
}
1717

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class GHEventInfo {
3434
"UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" }, justification = "JSON API")
3535
public static class GHEventRepository {
3636
@SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now")
37-
private int id;
37+
private long id;
3838
@SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now")
3939
private String url; // repository API URL
4040
private String name; // owner/repo

0 commit comments

Comments
 (0)