Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Wharton2013-03-04 18:49:23 +0000
committerKevin Sawicki2013-04-30 16:03:05 +0000
commit898395f524f813e2cfd8eecabfac4ba9366ed889 (patch)
tree610c55b3f1e70fd72f0dc61d1ef7ae5d4aac5280 /org.eclipse.egit.github.core/src
parent76a5242f8971f7649ab44422b5dd11aa9cad3a3a (diff)
downloadegit-github-898395f524f813e2cfd8eecabfac4ba9366ed889.tar.gz
egit-github-898395f524f813e2cfd8eecabfac4ba9366ed889.tar.xz
egit-github-898395f524f813e2cfd8eecabfac4ba9366ed889.zip
Switch UserPlan fields to long instead of int
This expected size can be common for large Enterprise installs. Change-Id: Id45b1b16d07e918b4b2ce71b077787e705e1d673 Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/UserPlan.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/UserPlan.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/UserPlan.java
index 34ef0a1a..1fc2f602 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/UserPlan.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/UserPlan.java
@@ -20,18 +20,18 @@ public class UserPlan implements Serializable {
/** serialVersionUID */
private static final long serialVersionUID = 4759542049129654659L;
- private int collaborators;
+ private long collaborators;
- private int privateRepos;
+ private long privateRepos;
- private int space;
+ private long space;
private String name;
/**
* @return collaborators
*/
- public int getCollaborators() {
+ public long getCollaborators() {
return collaborators;
}
@@ -39,7 +39,7 @@ public class UserPlan implements Serializable {
* @param collaborators
* @return this user plan
*/
- public UserPlan setCollaborators(int collaborators) {
+ public UserPlan setCollaborators(long collaborators) {
this.collaborators = collaborators;
return this;
}
@@ -47,7 +47,7 @@ public class UserPlan implements Serializable {
/**
* @return privateRepos
*/
- public int getPrivateRepos() {
+ public long getPrivateRepos() {
return privateRepos;
}
@@ -55,7 +55,7 @@ public class UserPlan implements Serializable {
* @param privateRepos
* @return this user plan
*/
- public UserPlan setPrivateRepos(int privateRepos) {
+ public UserPlan setPrivateRepos(long privateRepos) {
this.privateRepos = privateRepos;
return this;
}
@@ -63,7 +63,7 @@ public class UserPlan implements Serializable {
/**
* @return space
*/
- public int getSpace() {
+ public long getSpace() {
return space;
}
@@ -71,7 +71,7 @@ public class UserPlan implements Serializable {
* @param space
* @return this user plan
*/
- public UserPlan setSpace(int space) {
+ public UserPlan setSpace(long space) {
this.space = space;
return this;
}

Back to the top