X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjssun%2Fsecurity%2Faction%2FGetPropertyAction.js;fp=site%2Fswingjs%2Fj2s%2Fjssun%2Fsecurity%2Faction%2FGetPropertyAction.js;h=6a384eef6e7f919c5eab6b987ebdec1e965bdad5;hp=65029b1239ef92410adb53441d53b16e01d01748;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/jssun/security/action/GetPropertyAction.js b/site/swingjs/j2s/jssun/security/action/GetPropertyAction.js index 65029b1..6a384ee 100644 --- a/site/swingjs/j2s/jssun/security/action/GetPropertyAction.js +++ b/site/swingjs/j2s/jssun/security/action/GetPropertyAction.js @@ -1,22 +1,22 @@ -Clazz.declarePackage ("jssun.security.action"); -Clazz.load (["java.security.PrivilegedAction"], "jssun.security.action.GetPropertyAction", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.theProp = null; -this.defaultVal = null; -Clazz.instantialize (this, arguments); -}, jssun.security.action, "GetPropertyAction", null, java.security.PrivilegedAction); -Clazz.makeConstructor (c$, -function (theProp) { -this.theProp = theProp; -}, "~S"); -Clazz.makeConstructor (c$, -function (theProp, defaultVal) { -this.theProp = theProp; -this.defaultVal = defaultVal; -}, "~S,~S"); -Clazz.overrideMethod (c$, "run", -function () { -var value = System.getProperty (this.theProp); -return (value == null ? this.defaultVal : value); -}); -}); +Clazz.declarePackage ("jssun.security.action"); +Clazz.load (["java.security.PrivilegedAction"], "jssun.security.action.GetPropertyAction", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.theProp = null; +this.defaultVal = null; +Clazz.instantialize (this, arguments); +}, jssun.security.action, "GetPropertyAction", null, java.security.PrivilegedAction); +Clazz.makeConstructor (c$, +function (theProp) { +this.theProp = theProp; +}, "~S"); +Clazz.makeConstructor (c$, +function (theProp, defaultVal) { +this.theProp = theProp; +this.defaultVal = defaultVal; +}, "~S,~S"); +Clazz.overrideMethod (c$, "run", +function () { +var value = System.getProperty (this.theProp); +return (value == null ? this.defaultVal : value); +}); +});