Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@99538 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-05 11:03:03 +00:00
parent c7b5c3bf36
commit 8c45328c4d
1 changed files with 5 additions and 3 deletions

View File

@ -313,7 +313,8 @@ public class TabularResourceProperties extends FramedPanel {
dateField.setValue(tabResource.getDate());
typeField.setValue(tabResource.getTrId().getTabularResourceType());
rightField.setValue(tabResource.getRight());
validFromField.clear();
if (tabResource.getValidFrom() == null
|| tabResource.getValidFrom().isEmpty()) {
Log.debug("ValidFrom null or empty");
@ -328,7 +329,8 @@ public class TabularResourceProperties extends FramedPanel {
e.printStackTrace();
}
}
validUntilToField.clear();
if (tabResource.getValidUntilTo() == null
|| tabResource.getValidUntilTo().isEmpty()) {
Log.debug("ValidUntilTo null or empty");
@ -344,7 +346,7 @@ public class TabularResourceProperties extends FramedPanel {
}
}
comboLicences.reset();
comboLicences.clear();
if (tabResource.getLicence() != null
&& !tabResource.getLicence().isEmpty()) {
List<LicenceData> listLicence = storeCombo.getAll();