Removed traces.
authorviric@mandarina
Sun, 29 Jul 2007 13:07:12 +0200
changeset 15 b3cd84530d9a
parent 14 8d3d102cc5e3
child 16 cd43a69c4026
Removed traces.
src/jdict/BlockFile.java
src/jdict/DictIndex.java
--- a/src/jdict/BlockFile.java	Thu Jul 26 00:14:35 2007 +0200
+++ b/src/jdict/BlockFile.java	Sun Jul 29 13:07:12 2007 +0200
@@ -27,8 +27,10 @@
         /* This will have '\n' */
         String str = new String(array, 0, total - 1 /* - \n */);
         blocksize = Integer.parseInt(str);
+        /*
         System.out.println("Block size: " +
                 new Integer(blocksize).toString());
+                */
     }
 
     public BlockFile(String _basename)
@@ -55,10 +57,12 @@
     {
         block_id = bytes / blocksize;
 
+        /*
         System.out.println("Seek to block_id " +
                 new Integer(block_id).toString() +
                 " and block_offset " +
                 new Integer(block_offset).toString());
+                */
 
         openIndex(block_id); /* This overwrites block_offset */
         block_offset = bytes - block_id*blocksize;
@@ -99,7 +103,9 @@
 
         String name;
         name = basename + int2char(block_id);
+        /*
         System.out.println("Opening file: " + name);
+        */
 
         in = getClass().getResourceAsStream(name);
         block_offset = 0;
@@ -131,6 +137,7 @@
             toread = rest;
             if (toread > rest_in_block)
                 toread = rest_in_block;
+            /*
             if (rest_in_block <= 1 || block_offset <= 1)
                 System.out.println("toread: " +
                         new Integer(toread).toString() +
@@ -142,6 +149,7 @@
                         new Integer(array_offset).toString() +
                         " block_offset: " +
                         new Integer(block_offset).toString());
+                        */
 
             in.read(array, array_offset, toread);
 
--- a/src/jdict/DictIndex.java	Thu Jul 26 00:14:35 2007 +0200
+++ b/src/jdict/DictIndex.java	Sun Jul 29 13:07:12 2007 +0200
@@ -220,10 +220,12 @@
 
         while (i < length)
         {
+            /* DEBUG
             System.out.println("Value1: " + new Integer(value).toString());
             System.out.println("Array[i]: " + (char) array[i]);
             System.out.println("IA5Value: " +
                     new Integer(IA5value(array[i])).toString());
+                    */
 
             value = IA5value(array[i]) + value * 64;