JAL-1807 test
[jalviewjs.git] / bin / com / stevesoft / pat / PartialBuffer.js
index 8490ff2..02fc0e3 100644 (file)
@@ -1,50 +1,50 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.StringLike"], "com.stevesoft.pat.PartialBuffer", ["java.lang.StringBuffer"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.off = 0;\r
-this.allowOverRun = true;\r
-this.overRun = false;\r
-this.sb = null;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "PartialBuffer", null, com.stevesoft.pat.StringLike);\r
-Clazz.makeConstructor (c$, \r
-function (sb) {\r
-this.sb = sb;\r
-}, "StringBuffer");\r
-Clazz.overrideMethod (c$, "charAt", \r
-function (n) {\r
-n += this.off;\r
-if (n == this.sb.length ()) {\r
-this.overRun = true;\r
-return String.fromCharCode (0);\r
-}return this.sb.charAt (n);\r
-}, "~N");\r
-Clazz.overrideMethod (c$, "length", \r
-function () {\r
-return this.allowOverRun ? this.sb.length () + 1 : this.sb.length ();\r
-});\r
-Clazz.overrideMethod (c$, "indexOf", \r
-function (c) {\r
-for (var i = 0; i < this.sb.length (); i++) {\r
-if (this.sb.charAt (i) == c) {\r
-return i;\r
-}}\r
-return -1;\r
-}, "~S");\r
-Clazz.overrideMethod (c$, "unwrap", \r
-function () {\r
-return this.sb;\r
-});\r
-Clazz.overrideMethod (c$, "substring", \r
-function (i1, i2) {\r
-var sb =  new StringBuffer (i2 - i1);\r
-for (var i = i1; i < i2; i++) {\r
-sb.append (this.charAt (i));\r
-}\r
-return sb.toString ();\r
-}, "~N,~N");\r
-Clazz.overrideMethod (c$, "newStringBufferLike", \r
-function () {\r
-return null;\r
-});\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.StringLike"], "com.stevesoft.pat.PartialBuffer", ["java.lang.StringBuffer"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.off = 0;
+this.allowOverRun = true;
+this.overRun = false;
+this.sb = null;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "PartialBuffer", null, com.stevesoft.pat.StringLike);
+Clazz.makeConstructor (c$, 
+function (sb) {
+this.sb = sb;
+}, "StringBuffer");
+Clazz.overrideMethod (c$, "charAt", 
+function (n) {
+n += this.off;
+if (n == this.sb.length ()) {
+this.overRun = true;
+return String.fromCharCode (0);
+}return this.sb.charAt (n);
+}, "~N");
+Clazz.overrideMethod (c$, "length", 
+function () {
+return this.allowOverRun ? this.sb.length () + 1 : this.sb.length ();
+});
+Clazz.overrideMethod (c$, "indexOf", 
+function (c) {
+for (var i = 0; i < this.sb.length (); i++) {
+if (this.sb.charAt (i) == c) {
+return i;
+}}
+return -1;
+}, "~S");
+Clazz.overrideMethod (c$, "unwrap", 
+function () {
+return this.sb;
+});
+Clazz.overrideMethod (c$, "substring", 
+function (i1, i2) {
+var sb =  new StringBuffer (i2 - i1);
+for (var i = i1; i < i2; i++) {
+sb.append (this.charAt (i));
+}
+return sb.toString ();
+}, "~N,~N");
+Clazz.overrideMethod (c$, "newStringBufferLike", 
+function () {
+return null;
+});
+});