# HG changeset patch # User Jiri Vanek # Date 1441880267 -7200 # Node ID 38218c5268d468b1b4de4d2501c0591724188f74 # Parent 96da3c04a80c3e2bb0736234cca0537929545282 UnsignedAppletTrustConfirmation.java (stripFileImp) fixed typo on variable of normlaized to normalized diff -r 96da3c04a80c -r 38218c5268d4 ChangeLog --- a/ChangeLog Tue Sep 08 17:24:26 2015 +0200 +++ b/ChangeLog Thu Sep 10 12:17:47 2015 +0200 @@ -1,3 +1,8 @@ +2015-09-10 Jiri Vanek + + * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java: + (stripFileImp) fixed typo on variable of normlaized to normalized + 2015-09-03 Jiri Vanek * NEWS: mentioned fixes for RH1233697, RH1233667 and reuse of MissingALACAdialog diff -r 96da3c04a80c -r 38218c5268d4 netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Tue Sep 08 17:24:26 2015 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Thu Sep 10 12:17:47 2015 +0200 @@ -271,18 +271,18 @@ private static String stripFileImp(URL documentbase) { try { - String normlaized = UrlUtils.normalizeUrlAndStripParams(documentbase).toExternalForm().trim(); - if (normlaized.endsWith("/") || normlaized.endsWith("\\")) { - return normlaized; + String normalized = UrlUtils.normalizeUrlAndStripParams(documentbase).toExternalForm().trim(); + if (normalized.endsWith("/") || normalized.endsWith("\\")) { + return normalized; } - URL middleway = new URL(normlaized); + URL middleway = new URL(normalized); String file = middleway.getFile(); int i = Math.max(file.lastIndexOf('/'), file.lastIndexOf('\\')); if (i<0){ - return normlaized; + return normalized; } String parent = file.substring(0, i+1); - String stripped = normlaized.replace(file, parent); + String stripped = normalized.replace(file, parent); return stripped; } catch (Exception ex) { OutputController.getLogger().log(ex); @@ -307,4 +307,4 @@ return s + "/"; } -} \ No newline at end of file +}