[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Tue Oct 24 10:51:30 EDT 2006
User: msurtani
Date: 06/10/24 10:51:30
Modified: src/org/jboss/cache Version.java
Log:
Updated to provide version info for retroweaved package
Revision Changes Path
1.21 +13 -3 JBossCache/src/org/jboss/cache/Version.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Version.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/Version.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Version.java 25 Sep 2006 00:08:50 -0000 1.20
+++ Version.java 24 Oct 2006 14:51:30 -0000 1.21
@@ -6,12 +6,12 @@
* Contains version information about this release of TreeCache.
*
* @author Bela Ban
- * @version $Id: Version.java,v 1.20 2006/09/25 00:08:50 bwang Exp $
+ * @version $Id: Version.java,v 1.21 2006/10/24 14:51:30 msurtani Exp $
*/
public class Version {
public static final String version="2.0.0.DR1";
public static byte[] version_id={'0', '2', '0', '0', 'a'};
- public static final String cvs="$Id: Version.java,v 1.20 2006/09/25 00:08:50 bwang Exp $";
+ public static final String cvs="$Id: Version.java,v 1.21 2006/10/24 14:51:30 msurtani Exp $";
private static final int MAJOR_SHIFT = 11;
private static final int MINOR_SHIFT = 6;
@@ -28,7 +28,7 @@
public static void main(String[] args) {
System.out.println("\nVersion: \t" + version);
System.out.println("CVS: \t" + cvs);
- System.out.println("History: \t(see docs/Changelog.txt for details)\n");
+ System.out.println("History: \t(see http://jira.jboss.com/jira/browse/JBCACHE for details)\n");
}
/**
@@ -144,4 +144,14 @@
{
return (version > 1241 && version <= SHORT_1_2_3);
}
+
+ public static class Retro
+ {
+ public static void main(String[] args)
+ {
+ System.out.println("\nVersion: \t" + version + " (Retroweaved for JDK 1.4.x compatibility)");
+ System.out.println("CVS: \t" + cvs);
+ System.out.println("History: \t(see http://jira.jboss.com/jira/browse/JBCACHE for details)\n");
+ }
+ }
}
More information about the jboss-cvs-commits
mailing list