tmf: Deprecate TmfStateSystemFactory and HistoryBuilder
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 3 Jan 2014 19:06:38 +0000 (14:06 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 14 Jan 2014 20:00:50 +0000 (15:00 -0500)
State systems should be built from the analysis module now.

Change-Id: I4230c6514e4f0810108c65364fc66f0aa71d20bd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/20466
Tested-by: Hudson CI
org.eclipse.linuxtools.lttng2.kernel.core.tests/.settings/org.eclipse.jdt.core.prefs
org.eclipse.linuxtools.tmf.core.tests/.settings/org.eclipse.jdt.core.prefs
org.eclipse.linuxtools.tmf.core/.settings/org.eclipse.jdt.core.prefs
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/HistoryBuilder.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/TmfStateSystemFactory.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java

index dccc332b24ab392c3b9bd44651ab862419245e06..8a55f3f93c5cbd091ee2e9471a7092d50e4f7509 100644 (file)
@@ -18,7 +18,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
 org.eclipse.jdt.core.compiler.problem.comparingIdentical=error
 org.eclipse.jdt.core.compiler.problem.deadCode=error
-org.eclipse.jdt.core.compiler.problem.deprecation=error
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled
 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
 org.eclipse.jdt.core.compiler.problem.discouragedReference=error
index ca28311011622fe2ebb18c90506f4688757b9780..2906ea364493d473457db5d3efae26269d708c5f 100644 (file)
@@ -18,7 +18,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
 org.eclipse.jdt.core.compiler.problem.comparingIdentical=error
 org.eclipse.jdt.core.compiler.problem.deadCode=error
-org.eclipse.jdt.core.compiler.problem.deprecation=error
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled
 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
 org.eclipse.jdt.core.compiler.problem.discouragedReference=error
index 2189a924fd2b8ffcc17e942bfcc54b1b5c55638e..4b705eb5df7d918c2c5cc7509f42c21a992d3548 100644 (file)
@@ -19,7 +19,7 @@ org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
 org.eclipse.jdt.core.compiler.problem.comparingIdentical=error
 org.eclipse.jdt.core.compiler.problem.deadCode=error
 org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
 org.eclipse.jdt.core.compiler.problem.discouragedReference=error
 org.eclipse.jdt.core.compiler.problem.emptyStatement=error
index 1dd6ea10113ca0e24c679e6547ac91d34e538e72..c80841ce1538d3347edb5bf570ac927a2516219e 100644 (file)
@@ -26,6 +26,7 @@ import org.eclipse.linuxtools.tmf.core.signal.TmfTraceRangeUpdatedSignal;
 import org.eclipse.linuxtools.tmf.core.statesystem.ITmfStateProvider;
 import org.eclipse.linuxtools.tmf.core.statesystem.ITmfStateSystem;
 import org.eclipse.linuxtools.tmf.core.statesystem.ITmfStateSystemBuilder;
+import org.eclipse.linuxtools.tmf.core.statesystem.TmfStateSystemAnalysisModule;
 import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimeRange;
 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
 import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
@@ -40,7 +41,10 @@ import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
  *
  * @author alexmont
  *
+ * @deprecated Building state systems should now be done via
+ *             {@link TmfStateSystemAnalysisModule}
  */
+@Deprecated
 public class HistoryBuilder extends TmfComponent {
 
     private final ITmfStateProvider sp;
index ebcb251c3350d72fbda3023e6ede92986a1d1a4e..5395842e266bd0f491666df8d22b467ec7aeb2e5 100644 (file)
@@ -33,7 +33,11 @@ import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
  *
  * @author Alexandre Montplaisir
  * @since 2.0
+ *
+ * @deprecated Building state systems should now be done via
+ *             {@link TmfStateSystemAnalysisModule}
  */
+@Deprecated
 public final class TmfStateSystemFactory extends TmfComponent {
 
     /** "static" class */
index a60b55b2d7c68f4f470609ab0f8cc70c362bc796..cd1c55d590d1d7f5ed88d78b2981eddf032d695a 100644 (file)
@@ -453,7 +453,6 @@ public abstract class TmfTrace extends TmfEventProvider implements ITmfTrace {
      * @since 2.0
      * @deprecated See {@link ITmfTrace}
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public final Map<String, ITmfStateSystem> getStateSystems() {
@@ -464,7 +463,6 @@ public abstract class TmfTrace extends TmfEventProvider implements ITmfTrace {
      * @since 2.0
      * @deprecated See {@link ITmfTrace}
      */
-    @SuppressWarnings("deprecation")
     @Deprecated
     @Override
     public final void registerStateSystem(String id, ITmfStateSystem ss) {
This page took 0.050094 seconds and 5 git commands to generate.