Author: zothar
Date: 2006-11-23 13:52:08 +0000 (Thu, 23 Nov 2006)
New Revision: 11033
Modified:
trunk/contrib/freenet_ext/ExtVersion.java
Log:
Make the public interface to ExtVersion.cvsRevision through a function so that
the node can call it to get the version of the currently used freenet-ext.jar
instead of the version of the freenet-ext.jar the node's freenet.jar had been
built with. This is commit 1 of 2.
Modified: trunk/contrib/freenet_ext/ExtVersion.java
===================================================================
--- trunk/contrib/freenet_ext/ExtVersion.java 2006-11-23 11:46:02 UTC (rev
11032)
+++ trunk/contrib/freenet_ext/ExtVersion.java 2006-11-23 13:52:08 UTC (rev
11033)
@@ -13,5 +13,9 @@
}
/** Revision number of Version.java as read from CVS */
- public static final String cvsRevision = "@custom@";
+ private static final String cvsRevision = "@custom@";
+
+ public static final String cvsRevision() {
+ return cvsRevision;
+ }
}