From 81a4e75673d5ebc90fa26db083c1b752cf9f32db Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 29 Jun 2018 15:29:17 +0000 Subject: [PATCH] ref #11879: TDM - Update to StorageHUB https://support.d4science.org/issues/#11879 Updated to StorageHub git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@169559 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java index cb9071d..8ff21a1 100644 --- a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java @@ -77,8 +77,8 @@ public class CSVWorkSpaceSelectionCard extends WizardCard { @Override public void onSelectedItem(Item item) { Log.debug("Selected Item:" + item); - if (item.getType() != ItemType.FOLDER||item.getType() != ItemType.PRIVATE_FOLDER - ||item.getType() != ItemType.SHARED_FOLDER||item.getType() != ItemType.VRE_FOLDER) { + if (item.getType() != ItemType.FOLDER&&item.getType() != ItemType.PRIVATE_FOLDER + &&item.getType() != ItemType.SHARED_FOLDER&&item.getType() != ItemType.VRE_FOLDER) { String filename = item.getName(); if (filename != null && !filename.isEmpty()) { Log.debug("Item name: " + filename);