Commit 92e14f81 authored by Greg Messner's avatar Greg Messner
Browse files

Changed Number to Integer.

parent c88bd0ad
...@@ -17,11 +17,11 @@ public class PushEvent { ...@@ -17,11 +17,11 @@ public class PushEvent {
private String after; private String after;
private String before; private String before;
private List<Commit> commits; private List<Commit> commits;
private Number projectId; private Integer projectId;
private String ref; private String ref;
private Repository repository; private Repository repository;
private Number totalCommitsCount; private Integer totalCommitsCount;
private Number userId; private Integer userId;
private String userName; private String userName;
public String getAfter () { public String getAfter () {
...@@ -48,11 +48,11 @@ public class PushEvent { ...@@ -48,11 +48,11 @@ public class PushEvent {
this.commits = commits; this.commits = commits;
} }
public Number getProjectId () { public Integer getProjectId () {
return this.projectId; return this.projectId;
} }
public void setProjectId (Number projectId) { public void setProjectId (Integer projectId) {
this.projectId = projectId; this.projectId = projectId;
} }
...@@ -72,19 +72,19 @@ public class PushEvent { ...@@ -72,19 +72,19 @@ public class PushEvent {
this.repository = repository; this.repository = repository;
} }
public Number getTotalCommitsCount () { public Integer getTotalCommitsCount () {
return this.totalCommitsCount; return this.totalCommitsCount;
} }
public void setTotalCommitsCount (Number totalCommitsCount) { public void setTotalCommitsCount (Integer totalCommitsCount) {
this.totalCommitsCount = totalCommitsCount; this.totalCommitsCount = totalCommitsCount;
} }
public Number getUserId () { public Integer getUserId () {
return this.userId; return this.userId;
} }
public void setUserId (Number userId) { public void setUserId (Integer userId) {
this.userId = userId; this.userId = userId;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment