merge from 2_4_Release branch
[jalview.git] / src / com / stevesoft / pat / LeftRule.java
index 1737abd..c75a0a5 100755 (executable)
@@ -1,21 +1,31 @@
-//\r
-// This software is now distributed according to\r
-// the Lesser Gnu Public License.  Please see\r
-// http://www.gnu.org/copyleft/lesser.txt for\r
-// the details.\r
-//    -- Happy Computing!\r
-//\r
-package com.stevesoft.pat;\r
-\r
-/** The apply(StringBufferLike sb,RegRes res) method of this derivation\r
-    of ReplaceRule appends the contents of res.left() to the StringBuffer\r
-    sb.\r
-    @see com.stevesoft.pat.ReplaceRule\r
-    */\r
-public class LeftRule extends ReplaceRule {\r
-    public LeftRule() {}\r
-    public void apply(StringBufferLike sb,RegRes res) {\r
-        sb.append(res.left());\r
-    }\r
-    public String toString1() { return "$`"; }\r
-}\r
+//
+// This software is now distributed according to
+// the Lesser Gnu Public License.  Please see
+// http://www.gnu.org/copyleft/lesser.txt for
+// the details.
+//    -- Happy Computing!
+//
+package com.stevesoft.pat;
+
+/**
+ * The apply(StringBufferLike sb,RegRes res) method of this derivation of
+ * ReplaceRule appends the contents of res.left() to the StringBuffer sb.
+ * 
+ * @see com.stevesoft.pat.ReplaceRule
+ */
+public class LeftRule extends ReplaceRule
+{
+  public LeftRule()
+  {
+  }
+
+  public void apply(StringBufferLike sb, RegRes res)
+  {
+    sb.append(res.left());
+  }
+
+  public String toString1()
+  {
+    return "$`";
+  }
+}