summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-03-06 02:58:51 (EST)
committerStefan Liebig2008-03-06 02:58:51 (EST)
commit4d69213bc2c869230db095d9b3cc48286dda082e (patch)
tree3fdbb219d8b208a423de2fe8e3c8ac78ce0af3c9
parent14fa65174124c735b1f37976f7016d5dd09ee4a7 (diff)
downloadorg.eclipse.riena-4d69213bc2c869230db095d9b3cc48286dda082e.zip
org.eclipse.riena-4d69213bc2c869230db095d9b3cc48286dda082e.tar.gz
org.eclipse.riena-4d69213bc2c869230db095d9b3cc48286dda082e.tar.bz2
avoid using literal "true"
-rw-r--r--org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java3
-rw-r--r--org.eclipse.riena.sample.app.server/src/org/eclipse/riena/internal/sample/app/server/Activator.java6
2 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java b/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
index b293d92..2891e00 100644
--- a/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
+++ b/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
@@ -47,7 +47,8 @@ public class Activator implements BundleActivator {
// pingPong = new PingPong();
// properties = new Hashtable<String, String>(3);
//
- // properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
+ // properties.put(RSDPublisherProperties.PROP_IS_REMOTE,
+ // Boolean.TRUE.toString());
// properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, "xfire");
// properties.put(RSDPublisherProperties.PROP_REMOTE_PATH,
// "/PingPongXFireWS");
diff --git a/org.eclipse.riena.sample.app.server/src/org/eclipse/riena/internal/sample/app/server/Activator.java b/org.eclipse.riena.sample.app.server/src/org/eclipse/riena/internal/sample/app/server/Activator.java
index 86ffb58..d194b1c 100644
--- a/org.eclipse.riena.sample.app.server/src/org/eclipse/riena/internal/sample/app/server/Activator.java
+++ b/org.eclipse.riena.sample.app.server/src/org/eclipse/riena/internal/sample/app/server/Activator.java
@@ -86,7 +86,7 @@ public class Activator extends Plugin {
Hashtable<String, String> properties = new Hashtable<String, String>(3);
- properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
+ properties.put(RSDPublisherProperties.PROP_IS_REMOTE, Boolean.TRUE.toString());
properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, REMOTE_PROTOCOL_HESSIAN);
properties.put(RSDPublisherProperties.PROP_REMOTE_PATH, "/CustomerSearchWS");
@@ -103,7 +103,7 @@ public class Activator extends Plugin {
Hashtable<String, String> properties = new Hashtable<String, String>(3);
- properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
+ properties.put(RSDPublisherProperties.PROP_IS_REMOTE, Boolean.TRUE.toString());
properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, REMOTE_PROTOCOL_HESSIAN);
properties.put(RSDPublisherProperties.PROP_REMOTE_PATH, "/CustomersWS");
@@ -120,7 +120,7 @@ public class Activator extends Plugin {
Hashtable<String, String> properties = new Hashtable<String, String>(3);
- properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
+ properties.put(RSDPublisherProperties.PROP_IS_REMOTE, Boolean.TRUE.toString());
properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, REMOTE_PROTOCOL_HESSIAN);
properties.put(RSDPublisherProperties.PROP_REMOTE_PATH, "/HelloWorldServiceWS");