Author: nextgens
Date: 2006-02-22 23:18:54 +0000 (Wed, 22 Feb 2006)
New Revision: 8121

Modified:
   trunk/plugins/HelloWorld/HelloWorld.java
   trunk/plugins/TestGallery/TestGallery.java
   trunk/plugins/build.xml
Log:
Updated plugins ; should be compatible with the new api

Modified: trunk/plugins/HelloWorld/HelloWorld.java
===================================================================
--- trunk/plugins/HelloWorld/HelloWorld.java    2006-02-22 22:55:42 UTC (rev 
8120)
+++ trunk/plugins/HelloWorld/HelloWorld.java    2006-02-22 23:18:54 UTC (rev 
8121)
@@ -26,15 +26,4 @@
                }
        }

-       public boolean handles(int thing) {
-               switch (thing) {
-                       case FredPlugin.handleFproxy: return false;
-                       //We don't handle it
-               }
-               return false;
-       }
-
-       public String handleHTTPGet(String path){
-               return null;
-       }
 }

Modified: trunk/plugins/TestGallery/TestGallery.java
===================================================================
--- trunk/plugins/TestGallery/TestGallery.java  2006-02-22 22:55:42 UTC (rev 
8120)
+++ trunk/plugins/TestGallery/TestGallery.java  2006-02-22 23:18:54 UTC (rev 
8121)
@@ -2,7 +2,6 @@

 import java.io.IOException;
 import java.net.MalformedURLException;
-import java.util.Date;
 import java.util.Random;

 import freenet.pluginmanager.*;
@@ -126,7 +125,6 @@

                //int i = (int)System.currentTimeMillis()%1000;
                while(goon) {
-                       //System.err.println("Heartbeat from gallery-plugin: " 
+ (new Date()));
                        /*
                        FetchResult fr;
                        try {

Modified: trunk/plugins/build.xml
===================================================================
--- trunk/plugins/build.xml     2006-02-22 22:55:42 UTC (rev 8120)
+++ trunk/plugins/build.xml     2006-02-22 23:18:54 UTC (rev 8121)
@@ -2,7 +2,7 @@
 <!-- ant build file for Freenet -->

 <project name="Freenet" default="dist" basedir=".">
-       <property name="freenet-cvs-snapshot.location" 
location="/home/nextgens/freenet-alpha.jar"/>
+       <property name="freenet-cvs-snapshot.location" 
location="/home/svn-build/freenet-alpha.jar"/>
        <property name="freenet-ext.location" 
location="/var/www/downloads/alpha/freenet-ext.jar"/>
        <property name="build" location="build/"/>
        <property name="dist" location="dist/"/>


Reply via email to