ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrisal...@apache.org
Subject svn commit: r1076362 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java
Date Wed, 02 Mar 2011 20:17:24 GMT
Author: mrisaliti
Date: Wed Mar  2 20:17:24 2011
New Revision: 1076362

URL: http://svn.apache.org/viewvc?rev=1076362&view=rev
Log:
Remove unused variable/method in WfsEventHandler (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java?rev=1076362&r1=1076361&r2=1076362&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/WfsEventHandler.java Wed Mar 
2 20:17:24 2011
@@ -110,7 +110,7 @@ public class WfsEventHandler implements 
             Element simpleElem = simpleDoc.getDocumentElement();
             SimpleMethod meth = new SimpleMethod(simpleElem, null, null);
             MethodContext methodContext = new MethodContext(request, response, null);
-            String retStr = meth.exec(methodContext); //Need to check return string
+            meth.exec(methodContext); //Need to check return string
             List<GenericValue> entityList = UtilGenerics.cast(request.getAttribute("entityList"));
             request.setAttribute("entityList", entityList);
 
@@ -150,28 +150,7 @@ public class WfsEventHandler implements 
             throw new EventHandlerException(e.getMessage(), e);
         }
     }
-
-    private String getLocationURI(HttpServletRequest request) {
-        StringBuilder uri = new StringBuilder();
-//        uri.append(request.getScheme());
-//        uri.append("://");
-//        uri.append(request.getServerName());
-//        if (request.getServerPort() != 80 && request.getServerPort() != 443) {
-//            uri.append(":");
-//            uri.append(request.getServerPort());
-//        }
-//        uri.append(request.getContextPath());
-//        uri.append(request.getServletPath());
-//
-//        String reqInfo = RequestHandler.getRequestUri(request.getPathInfo());
-//        if (!reqInfo.startsWith("/")) {
-//            reqInfo = "/" + reqInfo;
-//        }
-//
-//        uri.append(reqInfo);
-        return uri.toString();
-    }
-
+   
     public static String processWfsEntity(String entityName, Node domNode, String templatePath)
throws TemplateException, FileNotFoundException, IOException, URISyntaxException {
         String result = null;
         NodeModel nodeModel = NodeModel.wrap(domNode);



Mime
View raw message