Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / jssun / awt / image / URLImageSource.js
index b70379b..33436d8 100644 (file)
@@ -1,50 +1,50 @@
-Clazz.declarePackage ("jssun.awt.image");\r
-Clazz.load (["jssun.awt.image.InputStreamImageSource"], "jssun.awt.image.URLImageSource", ["java.net.URL"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.url = null;\r
-this.conn = null;\r
-this.actualHost = null;\r
-this.actualPort = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.awt.image, "URLImageSource", jssun.awt.image.InputStreamImageSource);\r
-Clazz.makeConstructor (c$, \r
-function (u) {\r
-Clazz.superConstructor (this, jssun.awt.image.URLImageSource, []);\r
-this.url = u;\r
-}, "java.net.URL");\r
-Clazz.makeConstructor (c$, \r
-function (href) {\r
-this.construct ( new java.net.URL (null, href));\r
-}, "~S");\r
-Clazz.makeConstructor (c$, \r
-function (u, uc) {\r
-this.construct (u);\r
-this.conn = uc;\r
-}, "java.net.URL,java.net.URLConnection");\r
-Clazz.makeConstructor (c$, \r
-function (uc) {\r
-this.construct (uc.getURL (), uc);\r
-}, "java.net.URLConnection");\r
-Clazz.overrideMethod (c$, "checkSecurity", \r
-function (context, quiet) {\r
-if (this.actualHost != null) {\r
-try {\r
-var security = System.getSecurityManager ();\r
-if (security != null) {\r
-security.checkConnect (this.actualHost, this.actualPort, context);\r
-}} catch (e) {\r
-if (Clazz.exceptionOf (e, SecurityException)) {\r
-if (!quiet) {\r
-throw e;\r
-}return false;\r
-} else {\r
-throw e;\r
-}\r
-}\r
-}return true;\r
-}, "~O,~B");\r
-Clazz.defineMethod (c$, "getDecoder", \r
-function () {\r
-return null;\r
-});\r
-});\r
+Clazz.declarePackage ("jssun.awt.image");
+Clazz.load (["jssun.awt.image.InputStreamImageSource"], "jssun.awt.image.URLImageSource", ["java.net.URL"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.url = null;
+this.conn = null;
+this.actualHost = null;
+this.actualPort = 0;
+Clazz.instantialize (this, arguments);
+}, jssun.awt.image, "URLImageSource", jssun.awt.image.InputStreamImageSource);
+Clazz.makeConstructor (c$, 
+function (u) {
+Clazz.superConstructor (this, jssun.awt.image.URLImageSource, []);
+this.url = u;
+}, "java.net.URL");
+Clazz.makeConstructor (c$, 
+function (href) {
+this.construct ( new java.net.URL (null, href));
+}, "~S");
+Clazz.makeConstructor (c$, 
+function (u, uc) {
+this.construct (u);
+this.conn = uc;
+}, "java.net.URL,java.net.URLConnection");
+Clazz.makeConstructor (c$, 
+function (uc) {
+this.construct (uc.getURL (), uc);
+}, "java.net.URLConnection");
+Clazz.overrideMethod (c$, "checkSecurity", 
+function (context, quiet) {
+if (this.actualHost != null) {
+try {
+var security = System.getSecurityManager ();
+if (security != null) {
+security.checkConnect (this.actualHost, this.actualPort, context);
+}} catch (e) {
+if (Clazz.exceptionOf (e, SecurityException)) {
+if (!quiet) {
+throw e;
+}return false;
+} else {
+throw e;
+}
+}
+}return true;
+}, "~O,~B");
+Clazz.defineMethod (c$, "getDecoder", 
+function () {
+return null;
+});
+});