Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2016-10-21 16:55:51 -0400
committerGerrit Code Review @ Eclipse.org2016-10-25 14:16:19 -0400
commit6f243ab3e3cb0b54df183e5c98452f8b552efcec (patch)
tree286d69fa7c7d84aec94683f8bedc7763548a21e2
parent82c98a4034236670e3d45b5389e6ccd8a5d58ac4 (diff)
downloadorg.eclipse.mylyn.tasks-6f243ab3e3cb0b54df183e5c98452f8b552efcec.tar.gz
org.eclipse.mylyn.tasks-6f243ab3e3cb0b54df183e5c98452f8b552efcec.tar.xz
org.eclipse.mylyn.tasks-6f243ab3e3cb0b54df183e5c98452f8b552efcec.zip
501868: add back removed enum constants as deprecated
Even though this class is internal, clients may be accessing it. Change-Id: I247dc9858cc1143af9683fd6aee7352e631f7fbc Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=501868
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyTaskDetailsAction.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyTaskDetailsAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyTaskDetailsAction.java
index 0c78f58e8..93bedf805 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyTaskDetailsAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyTaskDetailsAction.java
@@ -40,6 +40,17 @@ public class CopyTaskDetailsAction extends BaseSelectionListenerAction {
Messages.CopyTaskDetailsAction_Url_Menu_Label), ID_SUMMARY(
Messages.CopyTaskDetailsAction_ID_Summary_Menu_Label), ID_SUMMARY_URL(
Messages.CopyTaskDetailsAction_ID_Summary_and_Url_Menu_Label);
+ /**
+ * @deprecated Use {@link #ID_SUMMARY} instead
+ */
+ @Deprecated
+ public static Mode SUMMARY = ID_SUMMARY;
+
+ /**
+ * @deprecated Use {@link #ID_SUMMARY_URL} instead
+ */
+ @Deprecated
+ public static Mode SUMMARY_URL = ID_SUMMARY_URL;
private String message;

Back to the top