No functional change, fixes typos and formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2017-11-20 07:34:07 +00:00
parent 6a807356ab
commit 3933ba15c0
2 changed files with 3 additions and 4 deletions
@@ -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);
@@ -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.