summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-14 05:16:14 (EST)
committerStefan Liebig2008-02-14 05:16:14 (EST)
commita0072be70750e2c4a93df5f6764d1027d0cc9054 (patch)
tree1b742dfa51b88dc3fd5a72a95cc2c7acb3e971d4
parentb4218faaa219d3ff33661505e9d14efd70346327 (diff)
downloadorg.eclipse.riena-a0072be70750e2c4a93df5f6764d1027d0cc9054.zip
org.eclipse.riena-a0072be70750e2c4a93df5f6764d1027d0cc9054.tar.gz
org.eclipse.riena-a0072be70750e2c4a93df5f6764d1027d0cc9054.tar.bz2
unnecessary newString()
-rw-r--r--org.eclipse.riena.communication.publisher.hessian/src/org/eclipse/riena/communication/publisher/hessian/HessianRienaDispatcherServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.riena.communication.publisher.hessian/src/org/eclipse/riena/communication/publisher/hessian/HessianRienaDispatcherServlet.java b/org.eclipse.riena.communication.publisher.hessian/src/org/eclipse/riena/communication/publisher/hessian/HessianRienaDispatcherServlet.java
index 1147be4..f829f6a 100644
--- a/org.eclipse.riena.communication.publisher.hessian/src/org/eclipse/riena/communication/publisher/hessian/HessianRienaDispatcherServlet.java
+++ b/org.eclipse.riena.communication.publisher.hessian/src/org/eclipse/riena/communication/publisher/hessian/HessianRienaDispatcherServlet.java
@@ -74,7 +74,7 @@ public class HessianRienaDispatcherServlet extends GenericServlet {
if (httpReq.getMethod().equals("GET")) {
if (httpReq.getRemoteHost().equals("127.0.0.1")) {
PrintWriter pw = new PrintWriter(res.getOutputStream());
- pw.write(new String("no webservices available"));
+ pw.write("no webservices available");
pw.flush();
return;
} else {
@@ -99,7 +99,7 @@ public class HessianRienaDispatcherServlet extends GenericServlet {
if (rsd == null) {
pw.write("call received from browser, no remote service registered with this URL");
} else {
- pw.write(new String("calls ") + rsd);
+ pw.write("calls " + rsd);
}
pw.flush();
return;