[ofbiz-framework] branch trunk updated: Improved: Removes (no longer?) right TODO

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

[ofbiz-framework] branch trunk updated: Improved: Removes (no longer?) right TODO

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new afb3557  Improved: Removes (no longer?) right TODO
afb3557 is described below

commit afb35572d0241423d960d906b5a2ca0214f1a758
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Thu Apr 16 15:18:08 2020 +0200

    Improved: Removes (no longer?) right TODO
---
 .../src/main/java/org/apache/ofbiz/content/data/DataResourceWorker.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/applications/content/src/main/java/org/apache/ofbiz/content/data/DataResourceWorker.java b/applications/content/src/main/java/org/apache/ofbiz/content/data/DataResourceWorker.java
index 903a148..e4ac7ab 100644
--- a/applications/content/src/main/java/org/apache/ofbiz/content/data/DataResourceWorker.java
+++ b/applications/content/src/main/java/org/apache/ofbiz/content/data/DataResourceWorker.java
@@ -204,7 +204,6 @@ public class DataResourceWorker  implements org.apache.ofbiz.widget.content.Data
      * Uploads image data from a form and stores it in ImageDataResource. Expects key data in a field identified by the "idField" value and the binary data
      * to be in a field id'd by uploadField.
      */
-    // TODO: This method is not used and should be removed. amb
     public static String uploadAndStoreImage(HttpServletRequest request, String idField, String uploadField) {
         ServletFileUpload fu = new ServletFileUpload(new DiskFileItemFactory(10240, FileUtil.getFile("runtime/tmp")));
         List<FileItem> lst = null;