JAL-1807 still testing
[jalviewjs.git] / bin / com / stevesoft / pat / wrap / CharArrayBufferWrap.js
index ce61261..cfade25 100644 (file)
@@ -1,38 +1,38 @@
-Clazz.declarePackage ("com.stevesoft.pat.wrap");
-Clazz.load (["com.stevesoft.pat.BasicStringBufferLike", "java.lang.StringBuffer"], "com.stevesoft.pat.wrap.CharArrayBufferWrap", ["com.stevesoft.pat.wrap.CharArrayWrap"], function () {
-c$ = Clazz.decorateAsClass (function () {
-this.sb = null;
-Clazz.instantialize (this, arguments);
-}, com.stevesoft.pat.wrap, "CharArrayBufferWrap", null, com.stevesoft.pat.BasicStringBufferLike);
-Clazz.prepareFields (c$, function () {
-this.sb =  new StringBuffer ();
-});
-Clazz.overrideMethod (c$, "appendC", 
-function (c) {
-this.sb.append (c);
-}, "~S");
-Clazz.overrideMethod (c$, "append", 
-function (s) {
-this.sb.append (s);
-}, "~S");
-Clazz.overrideMethod (c$, "toStringLike", 
-function () {
-var ca =  Clazz.newCharArray (this.sb.length (), '\0');
-for (var i = 0; i < ca.length; i++) {
-ca[i] = this.sb.charAt (i);
-}
-return  new com.stevesoft.pat.wrap.CharArrayWrap (ca);
-});
-Clazz.defineMethod (c$, "length", 
-function () {
-return this.sb.length ();
-});
-Clazz.overrideMethod (c$, "toString", 
-function () {
-return this.sb.toString ();
-});
-Clazz.overrideMethod (c$, "unwrap", 
-function () {
-return this.sb;
-});
-});
+Clazz.declarePackage ("com.stevesoft.pat.wrap");\r
+Clazz.load (["com.stevesoft.pat.BasicStringBufferLike", "java.lang.StringBuffer"], "com.stevesoft.pat.wrap.CharArrayBufferWrap", ["com.stevesoft.pat.wrap.CharArrayWrap"], function () {\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.sb = null;\r
+Clazz.instantialize (this, arguments);\r
+}, com.stevesoft.pat.wrap, "CharArrayBufferWrap", null, com.stevesoft.pat.BasicStringBufferLike);\r
+Clazz.prepareFields (c$, function () {\r
+this.sb =  new StringBuffer ();\r
+});\r
+Clazz.overrideMethod (c$, "appendC", \r
+function (c) {\r
+this.sb.append (c);\r
+}, "~S");\r
+Clazz.overrideMethod (c$, "append", \r
+function (s) {\r
+this.sb.append (s);\r
+}, "~S");\r
+Clazz.overrideMethod (c$, "toStringLike", \r
+function () {\r
+var ca =  Clazz.newCharArray (this.sb.length (), '\0');\r
+for (var i = 0; i < ca.length; i++) {\r
+ca[i] = this.sb.charAt (i);\r
+}\r
+return  new com.stevesoft.pat.wrap.CharArrayWrap (ca);\r
+});\r
+Clazz.defineMethod (c$, "length", \r
+function () {\r
+return this.sb.length ();\r
+});\r
+Clazz.overrideMethod (c$, "toString", \r
+function () {\r
+return this.sb.toString ();\r
+});\r
+Clazz.overrideMethod (c$, "unwrap", \r
+function () {\r
+return this.sb;\r
+});\r
+});\r