From 6f6e673b00d8e4f8c9f9a6ffe68a3f14d1a67a98 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Wed, 11 Jul 2012 17:51:04 +0300 Subject: [PATCH] update Version class --- .../org/springframework/roo/support/util/VersionUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/roo/support/util/VersionUtils.java b/src/main/java/org/springframework/roo/support/util/VersionUtils.java index d25573ec..a4495e3f 100644 --- a/src/main/java/org/springframework/roo/support/util/VersionUtils.java +++ b/src/main/java/org/springframework/roo/support/util/VersionUtils.java @@ -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 null 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"); } }