Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-05-13 14:22:51 +0000
committerEike Stepper2010-05-13 14:22:51 +0000
commitf6dbb81f4ff5e49fc774cd96430df9f1bc6e8457 (patch)
tree577075ad197719e86723de167ff2bed2edd3a6ce /plugins/org.eclipse.emf.cdo.examples.server
parent7701d5730880f815700711ff91aa267b256d676d (diff)
downloadcdo-f6dbb81f4ff5e49fc774cd96430df9f1bc6e8457.tar.gz
cdo-f6dbb81f4ff5e49fc774cd96430df9f1bc6e8457.tar.xz
cdo-f6dbb81f4ff5e49fc774cd96430df9f1bc6e8457.zip
vserver
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.server')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
index f2deccd1c3..f7361334e2 100644
--- a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
+++ b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/DemoConfiguration.java
@@ -48,7 +48,7 @@ import java.util.Random;
*/
public class DemoConfiguration extends Lifecycle
{
- private static final int NAME_LENGTH = 16;
+ private static final int NAME_LENGTH = 8;
private static final String NAME_ALPHABET = "abcdefghijklmnopqrstuvwxyz";
@@ -164,7 +164,7 @@ public class DemoConfiguration extends Lifecycle
protected String createRandomName()
{
Random random = new Random(System.currentTimeMillis());
- StringBuilder builder = new StringBuilder();
+ StringBuilder builder = new StringBuilder("repo_");
for (int i = 0; i < NAME_LENGTH; i++)
{
int pos = random.nextInt(NAME_ALPHABET.length());

Back to the top