From 6835553edc3e64bdab7eace86c705775ec0c4e3d Mon Sep 17 00:00:00 2001 From: administrateur Date: Thu, 25 Jan 2007 00:43:15 +0100 Subject: [PATCH] bad value of println in Test. --- test/xid/test/Test.java | 61 ----------------------------------------- 1 file changed, 61 deletions(-) diff --git a/test/xid/test/Test.java b/test/xid/test/Test.java index 49a7183..504d2a3 100644 --- a/test/xid/test/Test.java +++ b/test/xid/test/Test.java @@ -30,67 +30,6 @@ class TTagsMatrix extends TTagsDataById */ class Test { - - public static void test () - { - System.out.println ("doing a test"); - - - TTagsDataById tags = new TTagsDataById (); - - TTagData tag = new TTagData (); - tag.a = "label a1"; - tags.put ("id1", tag); - - tag = new TTagData (); - tag.a = "label a2"; - tags.put ("id2", tag); - - TTagsData tag2 = new TTagsData (); - tags.put ("id3", tag2); - - TTagsDataById tag3 = new TTagsDataById (); - tags.put ("id4", tag3); - - TTagsMatrix tag4 = new TTagsMatrix (); - tags.put ("id5", tag4); - - System.out.println ("tags=" + tags); - - Set keys = tags.keySet (); - Iterator it = keys.iterator (); - while (it.hasNext ()) - { - String key = (String) it.next (); - Object obj = tags.get (key); - - StringBuffer comment = new StringBuffer (); - comment.append ("(" + key + "=> " + obj + "-> "); - - if (obj instanceof TTagData) - { - comment.append ("class TTagData"); - } - else if (obj instanceof TTagsData) - { - comment.append ("class TTagsData"); - } - else if (obj instanceof TTagsDataById) - { - comment.append ("class TTagsDataById"); - } - - if (obj instanceof TTagDataCore) - { - comment.append (" TTagDataCore"); - } - - comment.append (")"); - System.out.println (comment); - } - } - - static private org.apache.log4j.Logger log; static