Bug 573594 - return IStatus instead of status

Change-Id: I692f485a2525712dc0d07fc829188b4243cdb2a6
Signed-off-by: Christoph Laeubrich <laeubi@laeubi-soft.de>
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.bundles/+/180712
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 ae49a5e..0c907fa 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-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 d079f0e..5d8d3ea 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 fe5a5aa..3b84c49 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 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 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 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 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 54311fa..e7b3351 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 @@
 	 * @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 @@
 	 * @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 @@
 	 * @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 @@
 	 * @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();