Mercurial > hg > Members > nobuyasu > jungle-network
changeset 65:ebf42371454b
remove warning
author | one |
---|---|
date | Wed, 14 Aug 2013 17:44:09 +0900 |
parents | 16135d5e804f |
children | 29127ac788a6 |
files | .classpath .project pom.xml src/alice/jungle/datasegment/store/operations/DefaultTreeOperationLogContainer.java src/alice/jungle/transaction/NetworkDefaultJungleTree.java src/alice/jungle/transaction/NetworkDefaultJungleTreeEditor.java src/jungle/test/bbs/DistributeApp.java src/jungle/test/bbs/JungleManager.java src/jungle/test/bbs/NetworkJungleBulletinBoard.java src/jungle/test/bbs/codesegment/ChildLogCheckCodeSegment.java src/jungle/test/bbs/codesegment/LogUpdateCodeSegment.java src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java |
diffstat | 12 files changed, 82 insertions(+), 93 deletions(-) [+] |
line wrap: on
line diff
--- a/.classpath Fri Jul 19 11:16:48 2013 +0900 +++ b/.classpath Wed Aug 14 17:44:09 2013 +0900 @@ -1,24 +1,50 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="src" output="target/classes" path="src"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="lib/commons-collections-3.2.1.jar"/> - <classpathentry kind="lib" path="lib/guava-12.0-sources.jar"/> - <classpathentry kind="lib" path="lib/guava-12.0.jar"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="/Users/nobuyasu/workspace/Alice/Alice.jar"/> + <classpathentry including="**/*.java" kind="src" path="src"/> + <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/> + <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar" sourcepath="M2_REPO/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar" sourcepath="M2_REPO/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar" sourcepath="M2_REPO/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/hectorclient/hector-core/1.1-2/hector-core-1.1-2.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-pool/commons-pool/1.5.3/commons-pool-1.5.3.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/cassandra/cassandra-thrift/1.1.0/cassandra-thrift-1.1.0.jar"/> + <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/thrift/libthrift/0.7.0/libthrift-0.7.0.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/> + <classpathentry kind="var" path="M2_REPO/com/google/guava/guava/r09/guava-r09.jar"/> + <classpathentry kind="var" path="M2_REPO/com/github/stephenc/eaio-uuid/uuid/3.3.0/uuid-3.3.0.jar"/> + <classpathentry kind="var" path="M2_REPO/com/ecyrd/speed4j/speed4j/0.9/speed4j-0.9.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/cassandra/cassandra-all/1.2.1/cassandra-all-1.2.1.jar"/> + <classpathentry kind="var" path="M2_REPO/org/xerial/snappy/snappy-java/1.0.4.1/snappy-java-1.0.4.1.jar"/> + <classpathentry kind="var" path="M2_REPO/com/ning/compress-lzf/0.8.4/compress-lzf-0.8.4.jar"/> + <classpathentry kind="var" path="M2_REPO/commons-cli/commons-cli/1.1/commons-cli-1.1.jar"/> + <classpathentry kind="var" path="M2_REPO/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.3/concurrentlinkedhashmap-lru-1.3.jar"/> + <classpathentry kind="var" path="M2_REPO/org/antlr/antlr/3.2/antlr-3.2.jar"/> + <classpathentry kind="var" path="M2_REPO/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2.jar"/> + <classpathentry kind="var" path="M2_REPO/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar"/> + <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.7/antlr-2.7.7.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/cassandra/deps/avro/1.4.0-cassandra-1/avro-1.4.0-cassandra-1.jar"/> + <classpathentry kind="var" path="M2_REPO/org/codehaus/jackson/jackson-mapper-asl/1.9.2/jackson-mapper-asl-1.9.2.jar"/> + <classpathentry kind="var" path="M2_REPO/org/codehaus/jackson/jackson-core-asl/1.9.2/jackson-core-asl-1.9.2.jar"/> + <classpathentry kind="var" path="M2_REPO/jline/jline/1.0/jline-1.0.jar"/> + <classpathentry kind="var" path="M2_REPO/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar" sourcepath="M2_REPO/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/com/github/stephenc/high-scale-lib/high-scale-lib/1.1.2/high-scale-lib-1.1.2.jar"/> + <classpathentry kind="var" path="M2_REPO/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"/> + <classpathentry kind="var" path="M2_REPO/edu/stanford/ppl/snaptree/0.1/snaptree-0.1.jar"/> + <classpathentry kind="var" path="M2_REPO/com/yammer/metrics/metrics-core/2.0.3/metrics-core-2.0.3.jar"/> + <classpathentry kind="var" path="M2_REPO/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar"/> + <classpathentry kind="src" path="/jungle-core"/> + <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-sources.jar"/> + <classpathentry kind="var" path="M2_REPO/org/functionaljava/functionaljava/3.1/functionaljava-3.1.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/maven/surefire/surefire-junit4/2.13/surefire-junit4-2.13.jar"/> + <classpathentry kind="var" path="M2_REPO/org/apache/maven/surefire/surefire-api/2.13/surefire-api-2.13.jar"/> + <classpathentry combineaccessrules="false" kind="src" path="/Alice"/> + <classpathentry combineaccessrules="false" kind="src" path="/msgpack-java"/> <classpathentry kind="output" path="target/classes"/> </classpath>
--- a/.project Fri Jul 19 11:16:48 2013 +0900 +++ b/.project Wed Aug 14 17:44:09 2013 +0900 @@ -1,23 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> <projectDescription> - <name>jungle-network</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> + <name>jungle-network</name> + <comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment> + <projects> + <project>jungle-core</project> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> \ No newline at end of file
--- a/pom.xml Fri Jul 19 11:16:48 2013 +0900 +++ b/pom.xml Wed Aug 14 17:44:09 2013 +0900 @@ -66,10 +66,5 @@ <artifactId>functionaljava</artifactId> <version>3.1</version> </dependency> - <dependency> - <groupId>alice</groupId> - <artifactId>alice</artifactId> - <version>0.1</version> - </dependency> </dependencies> </project>
--- a/src/alice/jungle/datasegment/store/operations/DefaultTreeOperationLogContainer.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/alice/jungle/datasegment/store/operations/DefaultTreeOperationLogContainer.java Wed Aug 14 17:44:09 2013 +0900 @@ -1,19 +1,13 @@ package alice.jungle.datasegment.store.operations; import java.io.IOException; -import java.nio.ByteBuffer; -import java.util.Date; import java.util.LinkedList; import java.util.List; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultNodePath; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.logger.DefaultTreeOperationLog; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.logger.TreeOperationLog; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.DefaultTreeOperation; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.NodeOperation; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.PutAttributeOperation; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation; import org.msgpack.MessagePack;
--- a/src/alice/jungle/transaction/NetworkDefaultJungleTree.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/alice/jungle/transaction/NetworkDefaultJungleTree.java Wed Aug 14 17:44:09 2013 +0900 @@ -8,7 +8,6 @@ import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.TreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.AtomicReservableReference; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.DefaultTransactionManager; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.TreeContext; public class NetworkDefaultJungleTree<T extends TreeNode<T>> implements JungleTree {
--- a/src/alice/jungle/transaction/NetworkDefaultJungleTreeEditor.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/alice/jungle/transaction/NetworkDefaultJungleTreeEditor.java Wed Aug 14 17:44:09 2013 +0900 @@ -1,10 +1,7 @@ package alice.jungle.transaction; -import java.io.IOException; import java.nio.ByteBuffer; -import alice.jungle.datasegment.store.operations.DefaultTreeOperationLogContainer; - import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Node; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath; @@ -22,13 +19,11 @@ import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.DeleteChildAt; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.NodeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.PutAttribute; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.DefaultJungleTreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.TransactionManager; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultEither; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.IterableConverter; -import jungle.test.bbs.codesegment.NullCodeSegmentForUpdate; public class NetworkDefaultJungleTreeEditor<T extends TreeNode<T>> implements JungleTreeEditor {
--- a/src/jungle/test/bbs/DistributeApp.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/DistributeApp.java Wed Aug 14 17:44:09 2013 +0900 @@ -1,24 +1,13 @@ package jungle.test.bbs; -import javax.servlet.Servlet; -import jungle.test.bbs.codesegment.LogUpdateCodeSegment; import jungle.test.bbs.codesegment.StartBBSCodeSegment; -import org.mortbay.jetty.Server; -import org.mortbay.jetty.servlet.ServletHandler; -import org.mortbay.jetty.servlet.ServletHolder; -import alice.daemon.AliceDaemon; -import alice.datasegment.DataSegment; import alice.jungle.remote.RemoteConfig; -import alice.topology.node.StartTopologyNode; import alice.topology.node.TopologyNode; -/** - * Hello world! - * - */ + public class DistributeApp { public static void main( String[] args ) throws Exception
--- a/src/jungle/test/bbs/JungleManager.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/JungleManager.java Wed Aug 14 17:44:09 2013 +0900 @@ -4,24 +4,17 @@ import java.nio.ByteBuffer; import java.util.Iterator; -import alice.jungle.core.NetworkDefaultJungle; import alice.jungle.datasegment.store.operations.DefaultTreeOperationLogContainer; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.DefaultJungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.Jungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTree; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Node; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultNodePath; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.DefaultTreeEditor; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.logger.DefaultTreeOperationLog; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.logger.TreeOperationLog; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.NodeOperation; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.traverser.DefaultTraverser; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultEither; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultError; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error;
--- a/src/jungle/test/bbs/NetworkJungleBulletinBoard.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/NetworkJungleBulletinBoard.java Wed Aug 14 17:44:09 2013 +0900 @@ -8,7 +8,6 @@ import alice.jungle.core.NetworkDefaultJungle; import alice.jungle.datasegment.store.operations.DefaultTreeOperationLogContainer; import alice.jungle.transaction.NetworkDefaultJungleTreeEditor; -import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.DefaultJungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.Jungle; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTree; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.JungleTreeEditor; @@ -19,13 +18,13 @@ import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.EditableNode; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.trasnformer.NodeEditor; +import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.transaction.DefaultTreeNode; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.traverser.DefaultTraverser; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.DefaultEither; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Either; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Error; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.IterableConverter; import jungle.test.bbs.codesegment.HashLogUpdateCodeSegment; -import jungle.test.bbs.codesegment.NullCodeSegmentForUpdate; public class NetworkJungleBulletinBoard implements BulletinBoard { @@ -127,14 +126,13 @@ throw new IllegalStateException(); } - JungleTreeEditor editor; Either<Error, JungleTreeEditor> either; do{ Node node = tree.getRootNode(); int size = node.getChildren().size(); DefaultNodePath path = new DefaultNodePath(); - editor = tree.getTreeEditor(); + JungleTreeEditor editor = tree.getTreeEditor(); either = editor.addNewChildAt(path,size); if(either.isA()){ throw new IllegalStateException(); @@ -159,7 +157,8 @@ editor = either.b(); either = editor.success(); try { - putTreeOperationLog((NetworkDefaultJungleTreeEditor)editor, size, timestamp); + NetworkDefaultJungleTreeEditor<DefaultTreeNode> netEditor = (NetworkDefaultJungleTreeEditor<DefaultTreeNode>) editor; + putTreeOperationLog(netEditor, size, timestamp); } catch (IOException e1) { e1.printStackTrace(); } @@ -169,14 +168,12 @@ public void editMessage(String _board,String _uuid,final String _author,final String _message,final String _editKey) { - JungleTreeEditor editor = null; - Either<Error,JungleTreeEditor> either = null; - do{ + for(;;) { DefaultNodePath path = new DefaultNodePath(); path = path.add(Integer.parseInt(_uuid)); JungleTree tree = jungle.getTreeByName(_board); - editor = tree.getTreeEditor(); + JungleTreeEditor editor = tree.getTreeEditor(); final long timestamp = new Date().getTime(); NodeEditor e = new NodeEditor(){ public <T extends EditableNode<T>> Either<Error, T> edit(T _e){ @@ -189,7 +186,7 @@ } }; - either = editor.edit(path,e); + Either<Error, JungleTreeEditor> either = editor.edit(path,e); if(either.isA()){ throw new IllegalStateException(); } @@ -200,7 +197,11 @@ } catch (IOException e1) { e1.printStackTrace(); } - }while(either.isA()); + if(!either.isA()) { + return; + } + } + } public Iterable<BoardMessage> getMessages(String _boardName) @@ -223,7 +224,7 @@ return new IterableConverter<BoardMessage,Node>(chs,converter); } - private void putTreeOperationLog(NetworkDefaultJungleTreeEditor editor, int pos, long timestamp) throws IOException { + private void putTreeOperationLog(NetworkDefaultJungleTreeEditor<DefaultTreeNode> editor, int pos, long timestamp) throws IOException { String uuid = editor.getID(); String treeName = editor.getTreeName(); String updaterName = editor.getUpdaterName();
--- a/src/jungle/test/bbs/codesegment/ChildLogCheckCodeSegment.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/codesegment/ChildLogCheckCodeSegment.java Wed Aug 14 17:44:09 2013 +0900 @@ -29,7 +29,7 @@ childLog.setKey("local","childLog", index); hashLog.setKey("hashLog"); } - + public void run() { int index = childLog.index; String hostName = host.asString();
--- a/src/jungle/test/bbs/codesegment/LogUpdateCodeSegment.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/codesegment/LogUpdateCodeSegment.java Wed Aug 14 17:44:09 2013 +0900 @@ -32,7 +32,7 @@ public void run() { int index = parentLog.index; - String hostName = host.asString(); +// String hostName = host.asString(); DefaultTreeOperationLogContainer container = parentLog.asClass(DefaultTreeOperationLogContainer.class); HashSetDataSegment ds = hashLog.asClass(HashSetDataSegment.class); if(ds.hash.contains(container.getHashLogString())) {
--- a/src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java Fri Jul 19 11:16:48 2013 +0900 +++ b/src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java Wed Aug 14 17:44:09 2013 +0900 @@ -43,9 +43,9 @@ System.out.println("name : "+ name); Matcher matcher = pattern.matcher(name); matcher.find(); - String type = matcher.group(1); +// String type = matcher.group(1); - + /* Jetty registration */ BulletinBoard cassaBBS = new NetworkJungleBulletinBoard(name); String createBoardMessagePath = "/createBoardMessage"; String createBoardPath = "/createBoard";