Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeanderson Candido2014-03-24 16:18:28 +0000
committerLars Vogel2014-03-25 21:58:33 +0000
commitfb75e64d2e700c0d6e76b188c5c81746547dbec6 (patch)
tree3ffb42dda341f82bf0c035e55153c06ca93afe21 /bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java
parent931f731ad02d4dbd13d39f288043001d04801459 (diff)
downloadeclipse.platform.ui-fb75e64d2e700c0d6e76b188c5c81746547dbec6.tar.gz
eclipse.platform.ui-fb75e64d2e700c0d6e76b188c5c81746547dbec6.tar.xz
eclipse.platform.ui-fb75e64d2e700c0d6e76b188c5c81746547dbec6.zip
Bug 430873 - Cleanup JFace code in preparation for GSoc
Removed unnecessay comments from viewers (Non-javadoc). Keeping javadoc from overriden methods if additional/relevant information provided. Otherwise, (copy from super javadoc or meaningless comment e.g. "string representation" on toString()), the javadoc was removed. Removed some blank spaces. Change-Id: Id1faad3f1fda4074c603bd36639af41149699347 Signed-off-by: Jeanderson Candido <jeandersonbc@gmail.com>
Diffstat (limited to 'bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java')
-rw-r--r--bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java
index 5df6c7af908..a0fc947b4b9 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecorationContext.java
@@ -22,13 +22,13 @@ import java.util.Map;
* @since 3.2
*/
public class DecorationContext implements IDecorationContext {
-
+
/**
* Constant that defines a default decoration context that has
* no context ids associated with it.
*/
public static final IDecorationContext DEFAULT_CONTEXT = new DecorationContext();
-
+
private Map properties = new HashMap();
/**
@@ -36,19 +36,12 @@ public class DecorationContext implements IDecorationContext {
*/
public DecorationContext() {
}
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.IDecorationContext#getProperty(java.lang.String)
- */
@Override
public Object getProperty(String property) {
return properties.get(property);
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.IDecorationContext#getProperties()
- */
@Override
public String[] getProperties() {
return (String[]) properties.keySet().toArray(new String[properties.size()]);

Back to the top