tmf: Fix merge conflict in cfe2f40: Remove deprecated and unused methods
authorPatrick Tasse <patrick.tasse@gmail.com>
Thu, 26 Feb 2015 18:49:23 +0000 (13:49 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 26 Feb 2015 23:22:12 +0000 (18:22 -0500)
Change-Id: I82a8c18fdc644cb23a20b5b6b0560ba317563018
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/42827
Reviewed-by: Hudson CI
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/project/model/TmfTraceType.java

index 6e331b08f8fb6a42088c7479ea27f84251ba101e..bc97ad8f111742f4408cf188d712ed0e4a629929 100644 (file)
@@ -220,33 +220,6 @@ public final class TmfTraceType {
     }
 
     /**
-<<<<<<< Upstream, based on 3097c4b013b2ea6ae2f6e8c1fa76e5aeaf2a1cbf
-     * Gets the custom trace types (custom text and friends)
-     *
-     * @param type
-     *            the type to get (Text, xml or other...)
-     * @return the list of custom trace types
-     */
-    public static List<String> getCustomTraceTypes(String type) {
-        List<String> traceTypes = new ArrayList<>();
-        if (type.equals(CustomTxtTraceDefinition.CUSTOM_TXT_CATEGORY)) {
-            for (CustomTxtTraceDefinition def : CustomTxtTraceDefinition.loadAll()) {
-                String traceTypeName = def.definitionName;
-                traceTypes.add(traceTypeName);
-            }
-        }
-        if (type.equals(CustomXmlTraceDefinition.CUSTOM_XML_CATEGORY)) {
-            for (CustomXmlTraceDefinition def : CustomXmlTraceDefinition.loadAll()) {
-                String traceTypeName = def.definitionName;
-                traceTypes.add(traceTypeName);
-            }
-        }
-        return traceTypes;
-    }
-
-    /**
-=======
->>>>>>> 930e20d Remove deprecated and unused metheds related to custom traces
      * Gets all the custom trace types
      *
      * @return the list of custom trace types
@@ -288,27 +261,6 @@ public final class TmfTraceType {
     /**
      * Add or replace a custom trace type
      *
-<<<<<<< Upstream, based on 3097c4b013b2ea6ae2f6e8c1fa76e5aeaf2a1cbf
-     * @param category
-     *            The custom parser category
-     * @param definitionName
-     *            The custom parser definition name to add or replace
-     * @deprecated Use {@link #addCustomTraceType(Class, String, String)}
-     */
-    @Deprecated
-    public static void addCustomTraceType(String category, String definitionName) {
-        if (category.equals(CustomTxtTraceDefinition.CUSTOM_TXT_CATEGORY)) {
-            addCustomTraceType(CustomTxtTrace.class, category, definitionName);
-        } else if (category.equals(CustomXmlTraceDefinition.CUSTOM_XML_CATEGORY)) {
-            addCustomTraceType(CustomXmlTrace.class, category, definitionName);
-        }
-    }
-
-    /**
-     * Add or replace a custom trace type
-     *
-=======
->>>>>>> 930e20d Remove deprecated and unused metheds related to custom traces
      * @param traceClass
      *            The custom trace class, either {@link CustomTxtTrace} or
      *            {@link CustomXmlTrace}
This page took 0.029453 seconds and 5 git commands to generate.