X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FReplaceRule.java;h=6f44db61275f3c2bbf58f5ce9e9f67ae60ef2446;hb=4ad2441df1220e3b1133feb3f70f00ba8b28392f;hp=bf561433a53f19e468d6e90706d3edaabe1fe7ba;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git
diff --git a/src/com/stevesoft/pat/ReplaceRule.java b/src/com/stevesoft/pat/ReplaceRule.java
index bf56143..6f44db6 100755
--- a/src/com/stevesoft/pat/ReplaceRule.java
+++ b/src/com/stevesoft/pat/ReplaceRule.java
@@ -7,7 +7,7 @@
//
package com.stevesoft.pat;
-import java.util.*;
+import java.util.Hashtable;
/**
* ReplaceRule is a singly linked list of Objects which describe how to replace
@@ -17,8 +17,8 @@ import java.util.*;
* default methods) that are needed by the clone() or toString() methods on this
* class. During the replacement process, each ReplaceRule tells the replacer
* what to add to StringBuffer and uses the contents of the Regular expression
- * result to get the information it needs to do this. Here is an example
+ * result to get the information it needs to do this. Here is an
+ * example
*
* @see com.stevesoft.pat.NullRule
* @see com.stevesoft.pat.AmpersandRule
@@ -211,8 +211,8 @@ public abstract class ReplaceRule
}
else if (tmp instanceof Transformer)
{
- head = add(head, new PushRule(var.substring(1),
- (Transformer) tmp));
+ head = add(head,
+ new PushRule(var.substring(1), (Transformer) tmp));
}
else
{
@@ -229,8 +229,8 @@ public abstract class ReplaceRule
}
else if (tmp instanceof Transformer)
{
- head = add(head, new ChangeRule(var.substring(1),
- (Transformer) tmp));
+ head = add(head,
+ new ChangeRule(var.substring(1), (Transformer) tmp));
}
else
{