JAL-1807 still testing
[jalviewjs.git] / unused / com / stevesoft / pat / PushRule.java
index c9aee2b..5d4dc35 100644 (file)
@@ -1,50 +1,50 @@
-//
-// 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;
-
-/**
- * See the example file <a
- * href="http://javaregex.com/code/trans3.java.html">trans3.java</a> for
- * further examples of how this is used. You will probably not want to call it
- * directly.
- */
-public class PushRule extends SpecialRule
-{
-  Regex NewRule;
-
-  public PushRule(PushRule p)
-  {
-    NewRule = p.NewRule;
-  }
-
-  public PushRule(String nm, Regex rr)
-  {
-    name = nm;
-    NewRule = rr;
-  }
-
-  public PushRule(String nm, Transformer tr)
-  {
-    name = nm;
-    NewRule = tr.rp;
-  }
-
-  public Object clone1()
-  {
-    return new PushRule(this);
-  }
-
-  public String String1()
-  {
-    return "${+" + name + "}";
-  }
-
-  public void apply(StringBufferLike sbl, RegRes rr)
-  {
-  }
-}
+//\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
+/**\r
+ * See the example file <a\r
+ * href="http://javaregex.com/code/trans3.java.html">trans3.java</a> for\r
+ * further examples of how this is used. You will probably not want to call it\r
+ * directly.\r
+ */\r
+public class PushRule extends SpecialRule\r
+{\r
+  Regex NewRule;\r
+\r
+  public PushRule(PushRule p)\r
+  {\r
+    NewRule = p.NewRule;\r
+  }\r
+\r
+  public PushRule(String nm, Regex rr)\r
+  {\r
+    name = nm;\r
+    NewRule = rr;\r
+  }\r
+\r
+  public PushRule(String nm, Transformer tr)\r
+  {\r
+    name = nm;\r
+    NewRule = tr.rp;\r
+  }\r
+\r
+  public Object clone1()\r
+  {\r
+    return new PushRule(this);\r
+  }\r
+\r
+  public String String1()\r
+  {\r
+    return "${+" + name + "}";\r
+  }\r
+\r
+  public void apply(StringBufferLike sbl, RegRes rr)\r
+  {\r
+  }\r
+}\r