commit | 9062c040c55e35c895467fa3d6404318a91a03eb | [log] [tgz] |
---|---|---|
author | Alex Panchenko <alex.panchenko@gmail.com> | Thu Aug 30 18:22:25 2012 +0700 |
committer | Alex Panchenko <alex.panchenko@gmail.com> | Wed Sep 05 14:42:45 2012 +0700 |
tree | f140a0b378f91c1887e4b9a4e7e875df3db9312e | |
parent | 281131f4cbc747c73ee45c92e6b747b06886df17 [diff] |
ScriptElementImageProvider.getMethodImageDescriptor() returns DESC_METHOD_DEFAULT if not specified
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/ScriptElementImageProvider.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/ScriptElementImageProvider.java index 51f564c..5df9ecc 100644 --- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/ScriptElementImageProvider.java +++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/ScriptElementImageProvider.java
@@ -400,9 +400,7 @@ if (Flags.isPublic(flags)) { return DLTKPluginImages.DESC_METHOD_PUBLIC; } - // TODO (alex) it has been public by default for years - // switch to DESC_METHOD_DEFAULT eventually - return DLTKPluginImages.DESC_METHOD_PUBLIC; + return DLTKPluginImages.DESC_METHOD_DEFAULT; } // ---- Methods to compute the adornments flags ----------------------------