struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r766577 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java
Date Mon, 20 Apr 2009 05:27:21 GMT
Author: wesw
Date: Mon Apr 20 05:27:18 2009
New Revision: 766577

URL: http://svn.apache.org/viewvc?rev=766577&view=rev
Log:
@Override not allowed on interface methods (how did this work before?)

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java?rev=766577&r1=766576&r2=766577&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ComponentUrlProvider.java
Mon Apr 20 05:27:18 2009
@@ -68,7 +68,6 @@
         return component.determineActionURL(action, namespace, method, req, res, parameters,
scheme, includeContext, encodeResult, forceAddSchemeHostAndPort, escapeAmp);
     }
 
-    @Override
     public String determineNamespace(String namespace, ValueStack stack, HttpServletRequest
req) {
         return component.determineNamespace(namespace, stack, req);
     }
@@ -113,12 +112,10 @@
         this.scheme = scheme;
     }
 
-    @Override
     public boolean isPutInContext() {
         return component instanceof ContextBean;
     }
 
-    @Override
     public String getVar() {
         return isPutInContext() ? ((ContextBean)component).getVar() :  null;
     }
@@ -199,7 +196,6 @@
         return portletUrlType;
     }
 
-    @Override
     public ValueStack getStack() {
         return component.getStack();
     }
@@ -224,7 +220,6 @@
         this.forceAddSchemeHostAndPort = forceAddSchemeHostAndPort;
     }
 
-    @Override
     public void putInContext(String result) {
         if (isPutInContext()) {
             ((ContextBean)component).putInContext(result);



Mime
View raw message