JAL-3592 logic question
[jalview.git] / src / com / stevesoft / pat / BackG.java
index 78115f8..166b58c 100755 (executable)
@@ -1,26 +1,47 @@
-//\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
-import java.util.Hashtable;\r
-\r
-/** This class represents the \G pattern element. */\r
-class BackG extends Pattern {\r
-    char c,altc,altc2;\r
-    int mask;\r
-    public BackG() {\r
-    }\r
-    public int matchInternal(int pos,Pthings pt) {\r
-        return pos==pt.lastPos ? nextMatch(pos,pt) : -1;\r
-    }\r
-    public String toString() {\r
-        return "\\G"+nextString();\r
-    }\r
-    public patInt minChars() { return new patInt(1); }\r
-    public patInt maxChars() { return new patInt(1); }\r
-    Pattern clone1(Hashtable h) { return new BackG(); }\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;
+
+import java.util.Hashtable;
+
+/** This class represents the \G pattern element. */
+class BackG extends Pattern
+{
+  char c, altc, altc2;
+
+  int mask;
+
+  public BackG()
+  {
+  }
+
+  public int matchInternal(int pos, Pthings pt)
+  {
+    return pos == pt.lastPos ? nextMatch(pos, pt) : -1;
+  }
+
+  public String toString()
+  {
+    return "\\G" + nextString();
+  }
+
+  public patInt minChars()
+  {
+    return new patInt(1);
+  }
+
+  public patInt maxChars()
+  {
+    return new patInt(1);
+  }
+
+  Pattern clone1(Hashtable h)
+  {
+    return new BackG();
+  }
+}