Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-12-15 23:56:57 +0000
committerKevin Sawicki2011-12-16 17:32:52 +0000
commit5562b470378843d9e26f9829459a0839c8190521 (patch)
tree27558d37e810d9dec56152be526c5a8b491d1e56
parent3456d76b4639f3608262a4be24f7582447087121 (diff)
downloadegit-github-5562b470378843d9e26f9829459a0839c8190521.tar.gz
egit-github-5562b470378843d9e26f9829459a0839c8190521.tar.xz
egit-github-5562b470378843d9e26f9829459a0839c8190521.zip
Add constants for user types
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
index 99a326b9..92be8574 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
@@ -23,6 +23,16 @@ public class User implements Serializable {
/** serialVersionUID */
private static final long serialVersionUID = -1211802439119529774L;
+ /**
+ * TYPE_USER
+ */
+ public static final String TYPE_USER = "User"; //$NON-NLS-1$
+
+ /**
+ * TYPE_ORG
+ */
+ public static final String TYPE_ORG = "Organization"; //$NON-NLS-1$
+
private boolean hireable;
private Date createdAt;

Back to the top