Author: jleroux
Date: Sun Sep 14 08:53:33 2014
New Revision: 1624817
URL: http://svn.apache.org/r1624817
Log:
No functional change, removes trailing blanks
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/config/model/ServiceEngine.java
ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/XMLRPCClientEngine.java
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/config/model/ServiceEngine.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/config/model/ServiceEngine.java?rev=1624817&r1=1624816&r2=1624817&view=diff
==============================================================================
---
ofbiz/trunk/framework/service/src/org/ofbiz/service/config/model/ServiceEngine.java
(original)
+++
ofbiz/trunk/framework/service/src/org/ofbiz/service/config/model/ServiceEngine.java
Sun Sep 14 08:53:33 2014
@@ -89,8 +89,8 @@ public final class ServiceEngine {
for (Element serviceLocationElement : serviceLocationElementList) {
String location =
serviceLocationElement.getAttribute("location").intern();
if (location.contains("localhost") &&
Start.getInstance().getConfig().portOffset != 0) {
- String s = location.substring(location.lastIndexOf(":") +
1);
- Integer locationPort = Integer.valueOf(s.substring(0,
s.indexOf("/")));
+ String s = location.substring(location.lastIndexOf(":") +
1);
+ Integer locationPort = Integer.valueOf(s.substring(0,
s.indexOf("/")));
Integer port = locationPort +
Start.getInstance().getConfig().portOffset;
location = location.replace(locationPort.toString(),
port.toString());
}
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/XMLRPCClientEngine.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/XMLRPCClientEngine.java?rev=1624817&r1=1624816&r2=1624817&view=diff
==============================================================================
---
ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/XMLRPCClientEngine.java
(original)
+++
ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/XMLRPCClientEngine.java
Sun Sep 14 08:53:33 2014
@@ -92,7 +92,7 @@ public class XMLRPCClientEngine extends
try {
url = ServiceConfigUtil.getEngineParameter(engine, "url");
if (Start.getInstance().getConfig().portOffset != 0) {
- String s = url.substring(url.lastIndexOf(":") + 1);
+ String s = url.substring(url.lastIndexOf(":") + 1);
Integer rpcPort = Integer.valueOf(s.substring(0,
s.indexOf("/")));
Integer port = rpcPort +
Start.getInstance().getConfig().portOffset;
url = url.replace(rpcPort.toString(), port.toString());