# HG changeset patch # User Jiri Vanek # Date 1441880101 -7200 # Node ID e4aca06e627613fa277074c43c259fa4a99cc7af # Parent 842edb1f5b9c45bf39047c12532df68aa4215350 UnsignedAppletTrustConfirmation.java (stripFileImp) fixed typo on variable of normlaized to normalized diff -r 842edb1f5b9c -r e4aca06e6276 ChangeLog --- a/ChangeLog Wed Sep 09 19:19:00 2015 +0200 +++ b/ChangeLog Thu Sep 10 12:15:01 2015 +0200 @@ -1,3 +1,9 @@ +2015-09-10 Jiri Vanek + + * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java: + (stripFileImp) fixed typo on variable of normlaized to normalized + + 2015-09-09 Jacob Wisor * .hgignore: Fix regex patterns of files ignored by Mercurial diff -r 842edb1f5b9c -r e4aca06e6276 netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Wed Sep 09 19:19:00 2015 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Thu Sep 10 12:15:01 2015 +0200 @@ -286,18 +286,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); @@ -322,4 +322,4 @@ return s + "/"; } -} \ No newline at end of file +}