Author: henning
Date: Mon Sep 26 10:03:49 2005
New Revision: 291676

URL: http://svn.apache.org/viewcvs?rev=291676&view=rev
Log:
Does not need to be RuntimeAware because the object passed in is not used.


Modified:
    
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/IncludeRelativePath.java

Modified: 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/IncludeRelativePath.java
URL: 
http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/IncludeRelativePath.java?rev=291676&r1=291675&r2=291676&view=diff
==============================================================================
--- 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/IncludeRelativePath.java
 (original)
+++ 
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/IncludeRelativePath.java
 Mon Sep 26 10:03:49 2005
@@ -16,9 +16,7 @@
  * limitations under the License.
  */
 
-import org.apache.velocity.app.event.RuntimeServicesAware;
 import org.apache.velocity.app.event.IncludeEventHandler;
-import org.apache.velocity.runtime.RuntimeServices;
 
 /**
  * Event handler that looks for included files relative to the path of the
@@ -29,9 +27,8 @@
  * @version $Id$
  */
 
-public class IncludeRelativePath implements 
IncludeEventHandler,RuntimeServicesAware {
+public class IncludeRelativePath implements IncludeEventHandler {
 
-    private RuntimeServices rs;
     String notfound;
 
     /**
@@ -71,10 +68,4 @@
             return currentResourcePath.substring(0,lastslashpos) + "/" + 
includeResourcePath;
 
     }
-
-
-    public void setRuntimeServices(RuntimeServices rs) throws Exception {
-         this.rs = rs;
-     }
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to