1.1 restoration
[mir.git] / source / mir / util / StructuredContentParser.java
index ff32bc3..412ecad 100755 (executable)
@@ -37,7 +37,6 @@ import java.util.Vector;
 
 
 /**
- *
  * <p>Title: </p>
  * <p>Description:
  *   Class to parse structured content:
@@ -58,10 +57,6 @@ import java.util.Vector;
  *  <p>
  *    Parsing is be very optimistic: no exception is ever to be thrown.
  *  </p>
- * <p>Copyright: Copyright (c) 2003</p>
- * <p>Company: </p>
- * @author not attributable
- * @version 1.0
  */
 public class StructuredContentParser {
   public StructuredContentParser() {
@@ -133,7 +128,7 @@ public class StructuredContentParser {
 
     public char scan() {
       if (!isAtEnd()) {
-        char result =data.charAt(position);
+        char result = data.charAt(position);
         position++;
         return result;
       }
@@ -196,9 +191,7 @@ public class StructuredContentParser {
   }
 
   public static Object parseObject(Scanner aScanner) {
-    Object result = null;
-
-    aScanner.skipSpace();
+   aScanner.skipSpace();
 
     if (!aScanner.isAtEnd()) {
       char data = aScanner.peek();