[Jiemamy-notify] commit [2057] append(bytes[]) してた。 append (new String( bytes[])) だよな~。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 10月 28日 (火) 01:03:03 JST


Revision: 2057
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jiemamy&view=rev&rev=2057
Author:   daisuke_m
Date:     2008-10-28 01:03:03 +0900 (Tue, 28 Oct 2008)

Log Message:
-----------
append(bytes[]) してた。 append(new String(bytes[])) だよな~。

Modified Paths:
--------------
    artemis/trunk/org.jiemamy.serializer/src/test/java/org/jiemamy/serializer/ModelInputStreamTest.java


-------------- next part --------------
Modified: artemis/trunk/org.jiemamy.serializer/src/test/java/org/jiemamy/serializer/ModelInputStreamTest.java
===================================================================
--- artemis/trunk/org.jiemamy.serializer/src/test/java/org/jiemamy/serializer/ModelInputStreamTest.java	2008-10-27 13:17:33 UTC (rev 2056)
+++ artemis/trunk/org.jiemamy.serializer/src/test/java/org/jiemamy/serializer/ModelInputStreamTest.java	2008-10-27 16:03:03 UTC (rev 2057)
@@ -44,6 +44,10 @@
 	 * モデルをInputStreamに変えるテスト
 	 * @throws Exception
 	 */
+	/**
+	 * TODO for daisuke
+	 * @throws Exception
+	 */
 	@Test
 	public void testRead() throws Exception {
 		JiemamyModelFactory.init(new S2FactoryStrategy("jiemamy-view.dicon"));
@@ -69,7 +73,7 @@
 			byte[] buffer = new byte[50];
 			while (-1 != mis.read(buffer)) {
 				System.out.print(new String(buffer));
-				sbActual.append(buffer);
+				sbActual.append(new String(buffer));
 				buffer = new byte[255];
 			}
 		} finally {


Jiemamy-notify メーリングリストの案内
Back to archive index