update Version class

This commit is contained in:
Costin Leau
2012-07-11 17:51:04 +03:00
parent 1eb9eea52f
commit 6f6e673b00

View File

@@ -15,7 +15,6 @@
*/
package org.springframework.roo.support.util;
import org.springframework.core.SpringVersion;
/**
@@ -24,12 +23,12 @@ import org.springframework.core.SpringVersion;
public class VersionUtils {
/**
* Returns the full version string of the present Spring codebase,
* Returns the full version string of the present Spring Shell codebase,
* or <code>null</code> if it cannot be determined.
* @see java.lang.Package#getImplementationVersion()
*/
public static String versionInfo() {
Package pkg = SpringVersion.class.getPackage();
Package pkg = VersionUtils.class.getPackage();
return (pkg != null ? pkg.getImplementationVersion() : "Unknown Version");
}
}