Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-02-13 21:48:57 +0000
committerslewis2005-02-13 21:48:57 +0000
commita547f0d00351a6fc07878ee8a843434e76e275ef (patch)
treed79fc75dddfa8e34cb48a4e4f180fc06e2ccf353
parentd28892bc9cb6f1c57d2dc8be1edc3bef8c655db9 (diff)
downloadorg.eclipse.ecf-a547f0d00351a6fc07878ee8a843434e76e275ef.tar.gz
org.eclipse.ecf-a547f0d00351a6fc07878ee8a843434e76e275ef.tar.xz
org.eclipse.ecf-a547f0d00351a6fc07878ee8a843434e76e275ef.zip
Made static variables final in Presence.Type and Presence.Mode
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/presence/Presence.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/presence/Presence.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/presence/Presence.java
index 1e6a5062f..bbe3ebd09 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/presence/Presence.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/presence/Presence.java
@@ -90,13 +90,13 @@ public class Presence implements Serializable, IAdaptable {
} else return null;
}
- public static Type AVAILABLE = new Type(AVAILABLE_NAME);
- public static Type ERROR = new Type(ERROR_NAME);
- public static Type SUBSCRIBE = new Type(SUBSCRIBE_NAME);
- public static Type UNAVAILABLE = new Type(UNAVAILABLE_NAME);
- public static Type UNSUBSCRIBE = new Type(UNSUBSCRIBE_NAME);
- public static Type UNSUBSCRIBED = new Type(UNSUBSCRIBED_NAME);
- public static Type UNKNOWN = new Type(UNKWOWN_NAME);
+ public static final Type AVAILABLE = new Type(AVAILABLE_NAME);
+ public static final Type ERROR = new Type(ERROR_NAME);
+ public static final Type SUBSCRIBE = new Type(SUBSCRIBE_NAME);
+ public static final Type UNAVAILABLE = new Type(UNAVAILABLE_NAME);
+ public static final Type UNSUBSCRIBE = new Type(UNSUBSCRIBE_NAME);
+ public static final Type UNSUBSCRIBED = new Type(UNSUBSCRIBED_NAME);
+ public static final Type UNKNOWN = new Type(UNKWOWN_NAME);
public String toString() { return name; }
// This is to make sure that subclasses don't screw up these methods
@@ -150,12 +150,12 @@ public class Presence implements Serializable, IAdaptable {
} else return null;
}
- public static Mode AVAILABLE = new Mode(AVAILABLE_NAME);
- public static Mode AWAY = new Mode(AWAY_NAME);
- public static Mode CHAT = new Mode(CHAT_NAME);
- public static Mode DND = new Mode(DND_NAME);
- public static Mode EXTENDED_AWAY = new Mode(EXTENDED_AWAY_NAME);
- public static Mode INVISIBLE = new Mode(INVISIBLE_NAME);
+ public static final Mode AVAILABLE = new Mode(AVAILABLE_NAME);
+ public static final Mode AWAY = new Mode(AWAY_NAME);
+ public static final Mode CHAT = new Mode(CHAT_NAME);
+ public static final Mode DND = new Mode(DND_NAME);
+ public static final Mode EXTENDED_AWAY = new Mode(EXTENDED_AWAY_NAME);
+ public static final Mode INVISIBLE = new Mode(INVISIBLE_NAME);
public String toString() { return name; }
// This is to make sure that subclasses don't screw up these methods

Back to the top