some code cleanup. removed unnecessary semikolons, unused vars, etc.
[mir.git] / source / mir / util / xml / html / HTMLScanner.java
index 1c6ff42..dd8c990 100755 (executable)
@@ -115,8 +115,7 @@ public class HTMLScanner {
 
     if (result.length()==0)
       return null;
-    else
-      return result.toString();
+               return result.toString();
   }
 
   private String getAttributeValue() throws IOException {
@@ -218,9 +217,7 @@ public class HTMLScanner {
 
         return;
       }
-      else {
-        result.append('-');
-      }
+                       result.append('-');
     }
 
     while (!reader.isAtEnd() && reader.peek()!='>') {