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/05/12 09:26:46 UTC

[syncope] branch 2_0_X updated: [SYNCOPE-1560] Fix build

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new 1fee925  [SYNCOPE-1560] Fix build
1fee925 is described below

commit 1fee925e9fa15f0cd4676ef5887d56bd471b662f
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue May 12 11:26:37 2020 +0200

    [SYNCOPE-1560] Fix build
---
 .../client/console/wicket/markup/html/form/BinaryFieldPanel.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldPanel.java
index 1f7a4c7..0ea8023 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/BinaryFieldPanel.java
@@ -179,7 +179,7 @@ public class BinaryFieldPanel extends FieldPanel<String> {
         showUpload(false).showRemove(false).showPreview(false).
         withLocale(SyncopeConsoleSession.get().getLocale().getLanguage());
 
-        fileUpload = new BootstrapFileInputField("fileUpload", new ListModel<>(new ArrayList<>()), config);
+        fileUpload = new BootstrapFileInputField("fileUpload", new ListModel<>(new ArrayList<FileUpload>()), config);
         fileUpload.setOutputMarkupId(true);
 
         fileUpload.add(new AjaxFormSubmitBehavior(Constants.ON_CHANGE) {