You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/01/03 13:21:53 UTC
[syncope] branch master updated: Fixing checkstyle
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 370867b Fixing checkstyle
370867b is described below
commit 370867bc392dc9b1ed884660d91315f6b2065eee
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Jan 3 14:21:23 2020 +0100
Fixing checkstyle
---
.../console/wicket/markup/html/form/BinaryFieldDownload.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldDownload.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldDownload.java
index 4371e65..db035e2 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldDownload.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldDownload.java
@@ -49,15 +49,15 @@ public abstract class BinaryFieldDownload extends AbstractAjaxBehavior {
this.addAntiCache = addAntiCache;
}
- public BinaryFieldDownload(final String name, final String fileKey, final String mimeType,
- final boolean addAntiCache) {
+ public BinaryFieldDownload(
+ final String name, final String fileKey, final String mimeType, final boolean addAntiCache) {
+
this(name, addAntiCache);
this.fileKey = fileKey;
this.mimeType = mimeType;
}
public void initiate(final AjaxRequestTarget target) {
-
String url = getCallbackUrl().toString();
if (addAntiCache) {
url = url + (url.contains("?") ? "&" : "?");
@@ -85,5 +85,4 @@ public abstract class BinaryFieldDownload extends AbstractAjaxBehavior {
}
protected abstract HttpResourceStream getResourceStream();
-
}