common: Annotate RandomAccessFile.readUTF
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Sun, 6 Dec 2015 22:09:18 +0000 (17:09 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Mon, 7 Dec 2015 23:07:37 +0000 (18:07 -0500)
It can't return null. Fixes a warning in TmfUml2SDTestTrace

Change-Id: I7698d58639dc2099bed60c5f37c28a249d5fb22c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/62076
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
common/org.eclipse.tracecompass.common.core/annotations/java/io/RandomAccessFile.eea [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.ui.tests/.classpath
tmf/org.eclipse.tracecompass.tmf.ui.tests/META-INF/MANIFEST.MF

diff --git a/common/org.eclipse.tracecompass.common.core/annotations/java/io/RandomAccessFile.eea b/common/org.eclipse.tracecompass.common.core/annotations/java/io/RandomAccessFile.eea
new file mode 100644 (file)
index 0000000..07583e5
--- /dev/null
@@ -0,0 +1,4 @@
+class java/io/RandomAccessFile
+readUTF
+ ()Ljava/lang/String;
+ ()L1java/lang/String;
index 793a479734b7baf1c308d893a39dac1bfa7f9721..06b8e389400b4f625dc174b3ded4c53ab828bf0b 100644 (file)
@@ -1,7 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
+               <attributes>
+                       <attribute name="annotationpath" value="/org.eclipse.tracecompass.common.core/annotations"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
+               <attributes>
+                       <attribute name="annotationpath" value="/org.eclipse.tracecompass.common.core/annotations"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="src" path="widgetStubs"/>
        <classpathentry kind="src" path="shared"/>
index 115046206be3d0bfb743f1517e586f37d9c4fa43..05c0ccd2d950ba65de6c1315284621e3281c9f8e 100644 (file)
@@ -11,11 +11,12 @@ Require-Bundle: org.junit;bundle-version="4.0.0",
  org.eclipse.core.runtime,
  org.eclipse.core.resources,
  org.eclipse.ui,
+ org.eclipse.ui.ide,
  org.eclipse.ui.views,
+ org.eclipse.tracecompass.common.core,
  org.eclipse.tracecompass.tmf.core,
  org.eclipse.tracecompass.tmf.ui,
- org.eclipse.tracecompass.tmf.core.tests,
- org.eclipse.ui.ide
+ org.eclipse.tracecompass.tmf.core.tests
 Export-Package: org.eclipse.tracecompass.tmf.ui.tests
 Bundle-Activator: org.eclipse.tracecompass.tmf.ui.tests.TmfUITestPlugin
 Import-Package: com.google.common.collect
This page took 0.026403 seconds and 5 git commands to generate.