/hg/release/icedtea-web-1.5: UnsignedAppletTrustConfirmation.jav...
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Thu Sep 10 10:18:02 UTC 2015
changeset 38218c5268d4 in /hg/release/icedtea-web-1.5
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=38218c5268d4
author: Jiri Vanek <jvanek at redhat.com>
date: Thu Sep 10 12:17:47 2015 +0200
UnsignedAppletTrustConfirmation.java (stripFileImp) fixed typo on variable of normlaized to normalized
diffstat:
ChangeLog | 5 +++
netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java | 14 +++++-----
2 files changed, 12 insertions(+), 7 deletions(-)
diffs (47 lines):
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 <jvanek at redhat.com>
+
+ * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
+ (stripFileImp) fixed typo on variable of normlaized to normalized
+
2015-09-03 Jiri Vanek <jvanek at redhat.com>
* 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
+}
More information about the distro-pkg-dev
mailing list