X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FReplaceRule.java;fp=src%2Fcom%2Fstevesoft%2Fpat%2FReplaceRule.java;h=6f44db61275f3c2bbf58f5ce9e9f67ae60ef2446;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=74a7a258cbf3cc8275ace069617321b3b599e179;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/com/stevesoft/pat/ReplaceRule.java b/src/com/stevesoft/pat/ReplaceRule.java index 74a7a25..6f44db6 100755 --- a/src/com/stevesoft/pat/ReplaceRule.java +++ b/src/com/stevesoft/pat/ReplaceRule.java @@ -17,8 +17,8 @@ import java.util.Hashtable; * 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 {