svn commit: r1778431 - /ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1778431 - /ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java

jleroux@apache.org
Author: jleroux
Date: Thu Jan 12 13:16:49 2017
New Revision: 1778431

URL: http://svn.apache.org/viewvc?rev=1778431&view=rev
Log:
No functional change, removes unused local delegator variables

Modified:
    ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java

Modified: ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java?rev=1778431&r1=1778430&r2=1778431&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java (original)
+++ ofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentServices.java Thu Jan 12 13:16:49 2017
@@ -812,7 +812,6 @@ public class ContentServices {
      */
     public static Map<String, Object> renderSubContentAsText(DispatchContext dctx, Map<String, ? extends Object> context) {
         Map<String, Object> results = new HashMap<String, Object>();
-        Delegator delegator = dctx.getDelegator();
         LocalDispatcher dispatcher = dctx.getDispatcher();
 
         Map<String,Object> templateContext = UtilGenerics.checkMap(context.get("templateContext"));
@@ -868,7 +867,6 @@ public class ContentServices {
     public static Map<String, Object> renderContentAsText(DispatchContext dctx, Map<String, ? extends Object> context) {
         Map<String,Object> results = new HashMap<String, Object>();
         LocalDispatcher dispatcher = dctx.getDispatcher();
-        Delegator delegator = dctx.getDelegator();
         Writer out = (Writer) context.get("outWriter");
 
         Map<String,Object> templateContext = UtilGenerics.checkMap(context.get("templateContext"));