Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / util / ResourceBundleEnumeration.js
index 96a1e5e..84fc3a2 100644 (file)
@@ -1,38 +1,38 @@
-Clazz.declarePackage ("jssun.util");\r
-Clazz.load (["java.util.Enumeration"], "jssun.util.ResourceBundleEnumeration", ["java.util.NoSuchElementException"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.set = null;\r
-this.iterator = null;\r
-this.enumeration = null;\r
-this.next = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.util, "ResourceBundleEnumeration", null, java.util.Enumeration);\r
-Clazz.makeConstructor (c$, \r
-function (set, enumeration) {\r
-this.set = set;\r
-this.iterator = set.iterator ();\r
-this.enumeration = enumeration;\r
-}, "java.util.Set,java.util.Enumeration");\r
-Clazz.defineMethod (c$, "hasMoreElements", \r
-function () {\r
-if (this.next == null) {\r
-if (this.iterator.hasNext ()) {\r
-this.next = this.iterator.next ();\r
-} else if (this.enumeration != null) {\r
-while (this.next == null && this.enumeration.hasMoreElements ()) {\r
-this.next = this.enumeration.nextElement ();\r
-if (this.set.contains (this.next)) {\r
-this.next = null;\r
-}}\r
-}}return this.next != null;\r
-});\r
-Clazz.defineMethod (c$, "nextElement", \r
-function () {\r
-if (this.hasMoreElements ()) {\r
-var result = this.next;\r
-this.next = null;\r
-return result;\r
-} else {\r
-throw  new java.util.NoSuchElementException ();\r
-}});\r
-});\r
+Clazz.declarePackage ("jssun.util");
+Clazz.load (["java.util.Enumeration"], "jssun.util.ResourceBundleEnumeration", ["java.util.NoSuchElementException"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.set = null;
+this.iterator = null;
+this.enumeration = null;
+this.next = null;
+Clazz.instantialize (this, arguments);
+}, jssun.util, "ResourceBundleEnumeration", null, java.util.Enumeration);
+Clazz.makeConstructor (c$, 
+function (set, enumeration) {
+this.set = set;
+this.iterator = set.iterator ();
+this.enumeration = enumeration;
+}, "java.util.Set,java.util.Enumeration");
+Clazz.defineMethod (c$, "hasMoreElements", 
+function () {
+if (this.next == null) {
+if (this.iterator.hasNext ()) {
+this.next = this.iterator.next ();
+} else if (this.enumeration != null) {
+while (this.next == null && this.enumeration.hasMoreElements ()) {
+this.next = this.enumeration.nextElement ();
+if (this.set.contains (this.next)) {
+this.next = null;
+}}
+}}return this.next != null;
+});
+Clazz.defineMethod (c$, "nextElement", 
+function () {
+if (this.hasMoreElements ()) {
+var result = this.next;
+this.next = null;
+return result;
+} else {
+throw  new java.util.NoSuchElementException ();
+}});
+});