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