Author: jleroux
Date: Mon Nov 20 07:34:07 2017
New Revision: 1815774

URL: http://svn.apache.org/viewvc?rev=1815774&view=rev
Log:
No functional change, fixes typos and formatting

Modified:
    
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/CommonServices.java
    
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java

Modified: 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/CommonServices.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/CommonServices.java?rev=1815774&r1=1815773&r2=1815774&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/CommonServices.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/CommonServices.java
 Mon Nov 20 07:34:07 2017
@@ -474,8 +474,7 @@ public class CommonServices {
 
         String line;
 
-        try (
-                BufferedReader reader = new BufferedReader(new 
InputStreamReader(in, UtilIO.getUtf8()));
+        try (BufferedReader reader = new BufferedReader(new 
InputStreamReader(in, UtilIO.getUtf8()));
                 Writer writer = new OutputStreamWriter(out, UtilIO.getUtf8())) 
{
             while ((line = reader.readLine()) != null) {
                 Debug.logInfo("Read line: " + line, module);

Modified: 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java?rev=1815774&r1=1815773&r2=1815774&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/FindServices.java
 Mon Nov 20 07:34:07 2017
@@ -113,7 +113,7 @@ public class FindServices {
         // Contained in the associated entity.
         // Those extra fields will be ignored in the second half of this 
method.
         Map<String, Map<String, Map<String, Object>>> normalizedFields = new 
LinkedHashMap<String, Map<String, Map<String, Object>>>();
-        for (Entry<String, ?> entry : inputFields.entrySet()) { // The name as 
it appeas in the HTML form
+        for (Entry<String, ?> entry : inputFields.entrySet()) { // The name as 
it appears in the HTML form
             String fieldNameRaw = entry.getKey();
             String fieldNameRoot = null; // The entity field name. Everything 
to the left of the first "_" if
                                                                  //  it 
exists, or the whole word, if not.
@@ -697,7 +697,7 @@ public class FindServices {
         ModelEntity modelEntity = delegator.getModelEntity(entityName);
         Map<String, Object> normalizedFields = new LinkedHashMap<String, 
Object>();
         //StringBuffer queryStringBuf = new StringBuffer();
-        for (Entry<String, ?> entry : inputFields.entrySet()) { // The name as 
it appeas in the HTML form
+        for (Entry<String, ?> entry : inputFields.entrySet()) { // The name as 
it appears in the HTML form
             String fieldNameRaw = entry.getKey();
             String fieldNameRoot = null; // The entity field name. Everything 
to the left of the first "_" if
                                                                  //  it 
exists, or the whole word, if not.


Reply via email to