tmf: fix comments about ITmfTrace.validate() return value
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Fri, 17 May 2013 19:21:21 +0000 (15:21 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Sat, 18 May 2013 02:01:29 +0000 (22:01 -0400)
Change-Id: Ieb686dd9a776372a84115d79b5f7b5a5000b2bb6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12946
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/ITmfTrace.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java

index 8ee674df2d2a11e740566c4c826b6c982087b0f6..24ccaa1a919e749d6487ec1a26c8de15a4ac57f7 100644 (file)
@@ -149,7 +149,7 @@ public interface ITmfTrace extends ITmfDataProvider {
      * @param project the eclipse project
      * @param path the trace path
      *
-     * @return true if trace is valid
+     * @return an IStatus object with validation result. Use severity OK to indicate success.
      * @since 2.0
      */
     IStatus validate(IProject project, String path);
index c24238a3657846aa6f342f7b0a21dc7315720aa5..5a9fd53599f835c1e4514e83305a0d45acebe34c 100644 (file)
@@ -47,7 +47,7 @@ import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp;
  * <li> public double getLocationRatio(ITmfLocation<?> location)
  * <li> public ITmfContext seekEvent(ITmfLocation<?> location)
  * <li> public ITmfContext seekEvent(double ratio)
- * <li> public boolean validate(IProject project, String path)
+ * <li> public IStatus validate(IProject project, String path)
  * </ul>
  * A concrete trace must provide its corresponding parser. A common way to
  * accomplish this is by making the concrete class extend TmfTrace and
This page took 0.026251 seconds and 5 git commands to generate.