Author: toad
Date: 2009-04-09 21:50:57 +0000 (Thu, 09 Apr 2009)
New Revision: 26683
Added:
trunk/freenet/src/freenet/pluginmanager/FredPluginRealVersioned.java
Removed:
trunk/freenet/src/freenet/pluginmanager/FredPluginLongVersioned.java
Modified:
trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
Log:
LongVersioned sucks, go back to RealVersioned
Deleted: trunk/freenet/src/freenet/pluginmanager/FredPluginLongVersioned.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/FredPluginLongVersioned.java 2009-04-09 19:39:29 UTC (rev 26682)
+++ trunk/freenet/src/freenet/pluginmanager/FredPluginLongVersioned.java 2009-04-09 21:50:57 UTC (rev 26683)
@@ -1,16 +0,0 @@
-package freenet.pluginmanager;
-
-/** Version of a plugin in a form that is easy to compare. */
-public interface FredPluginLongVersioned {
-
- /** The version of the plugin in a form that is easy to compare: a long!
- * Version 150 will always be later than version 20. */
- public long getRealVersion();
-
- // There is no point in reporting the dependancies or the minimum node version,
- // because we have already been loaded!
-
- // SVN revisions are going away, so there is no point returning them either.
- // Git has hashes, which are strings.
-
-}
Copied: trunk/freenet/src/freenet/pluginmanager/FredPluginRealVersioned.java (from rev 26682, trunk/freenet/src/freenet/pluginmanager/FredPluginLongVersioned.java)
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/FredPluginRealVersioned.java (rev 0)
+++ trunk/freenet/src/freenet/pluginmanager/FredPluginRealVersioned.java 2009-04-09 21:50:57 UTC (rev 26683)
@@ -0,0 +1,16 @@
+package freenet.pluginmanager;
+
+/** Version of a plugin in a form that is easy to compare. */
+public interface FredPluginRealVersioned {
+
+ /** The version of the plugin in a form that is easy to compare: a long!
+ * Version 150 will always be later than version 20. */
+ public long getRealVersion();
+
+ // There is no point in reporting the dependancies or the minimum node version,
+ // because we have already been loaded!
+
+ // SVN revisions are going away, so there is no point returning them either.
+ // Git has hashes, which are strings.
+
+}
Modified: trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java 2009-04-09 19:39:29 UTC (rev 26682)
+++ trunk/freenet/src/freenet/pluginmanager/FredPluginVersioned.java 2009-04-09 21:50:57 UTC (rev 26683)
@@ -4,7 +4,7 @@
* A Fred plugin that has a version.
* This is a user-presentable version, a marketing version, a string,
* not necessarily easy to compare! Like "1.0.3". Whereas a real version would be 103.
- * @see FredPluginLongVersioned for real versions.
+ * @see FredPluginRealVersioned for real versions.
* @author dbkr
*
*/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.