Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.equinox.common.tests/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.common.tests/pom.xml2
-rw-r--r--bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/StatusTest.java8
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/Status.java8
4 files changed, 10 insertions, 10 deletions
diff --git a/bundles/org.eclipse.equinox.common.tests/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.common.tests/META-INF/MANIFEST.MF
index ae49a5ef4..0c907faa2 100644
--- a/bundles/org.eclipse.equinox.common.tests/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.common.tests/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: Common Eclipse Runtime Tests
Bundle-Vendor: Eclipse.org - Equinox
Bundle-SymbolicName: org.eclipse.equinox.common.tests;singleton:=true
-Bundle-Version: 3.14.0.qualifier
+Bundle-Version: 3.14.100.qualifier
Automatic-Module-Name: org.eclipse.equinox.common.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
diff --git a/bundles/org.eclipse.equinox.common.tests/pom.xml b/bundles/org.eclipse.equinox.common.tests/pom.xml
index d079f0e5f..5d8d3ead7 100644
--- a/bundles/org.eclipse.equinox.common.tests/pom.xml
+++ b/bundles/org.eclipse.equinox.common.tests/pom.xml
@@ -19,7 +19,7 @@
</parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.common.tests</artifactId>
- <version>3.14.0-SNAPSHOT</version>
+ <version>3.14.100-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<properties>
<testClass>org.eclipse.equinox.common.tests.AllTests</testClass>
diff --git a/bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/StatusTest.java b/bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/StatusTest.java
index fe5a5aa79..3b84c490e 100644
--- a/bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/StatusTest.java
+++ b/bundles/org.eclipse.equinox.common.tests/src/org/eclipse/equinox/common/tests/StatusTest.java
@@ -237,7 +237,7 @@ public class StatusTest extends CoreTest {
}
public void testInfo() {
- Status info = Status.info("message");
+ IStatus info = Status.info("message");
assertEquals(IStatus.INFO, info.getSeverity());
assertEquals("message", info.getMessage());
assertEquals(IStatus.OK, info.getCode());
@@ -247,7 +247,7 @@ public class StatusTest extends CoreTest {
}
public void testWarning() {
- Status warning = Status.warning("message");
+ IStatus warning = Status.warning("message");
assertEquals(IStatus.WARNING, warning.getSeverity());
assertEquals("message", warning.getMessage());
assertEquals(IStatus.OK, warning.getCode());
@@ -268,7 +268,7 @@ public class StatusTest extends CoreTest {
}
public void testError() {
- Status error = Status.error("message");
+ IStatus error = Status.error("message");
assertEquals(IStatus.ERROR, error.getSeverity());
assertEquals("message", error.getMessage());
assertEquals(IStatus.OK, error.getCode());
@@ -278,7 +278,7 @@ public class StatusTest extends CoreTest {
}
public void testErrorWithException() {
- Status errorWithException = Status.error("message", new Exception("exception"));
+ IStatus errorWithException = Status.error("message", new Exception("exception"));
assertEquals(IStatus.ERROR, errorWithException.getSeverity());
assertEquals("message", errorWithException.getMessage());
assertEquals(IStatus.OK, errorWithException.getCode());
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/Status.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/Status.java
index 54311facb..e7b335158 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/Status.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/Status.java
@@ -95,7 +95,7 @@ public class Status implements IStatus {
* @return the newly created status
* @since 3.15
*/
- public static Status info(String message) {
+ public static IStatus info(String message) {
Class<?> callerClass = null;
try {
callerClass = walker.getCallerClass();
@@ -116,7 +116,7 @@ public class Status implements IStatus {
* @return the newly created status
* @since 3.15
*/
- public static Status warning(String message) {
+ public static IStatus warning(String message) {
Class<?> callerClass = null;
try {
callerClass = walker.getCallerClass();
@@ -160,7 +160,7 @@ public class Status implements IStatus {
* @return the newly created status
* @since 3.15
*/
- public static Status error(String message) {
+ public static IStatus error(String message) {
Class<?> callerClass = null;
try {
callerClass = walker.getCallerClass();
@@ -183,7 +183,7 @@ public class Status implements IStatus {
* @return the newly created status
* @since 3.15
*/
- public static Status error(String message, Throwable exception) {
+ public static IStatus error(String message, Throwable exception) {
Class<?> callerClass = null;
try {
callerClass = walker.getCallerClass();

Back to the top