removed unused code

This commit is contained in:
Francesco Mangiacrapa 2023-05-05 14:59:12 +02:00
parent 02b3583e61
commit 623a7af274
3 changed files with 22 additions and 17 deletions

View File

@ -84,6 +84,7 @@
@ -191,6 +192,7 @@
@ -298,6 +300,7 @@
@ -405,6 +408,7 @@
@ -464,6 +468,7 @@
@ -486,6 +491,9 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="geoportal-data-mapper-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-data-mapper/geoportal-data-mapper">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="metadata-profile-form-builder-widget-2.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/metadata-profile-form-builder-widget/metadata-profile-form-builder-widget">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -577,6 +585,7 @@
@ -684,6 +693,7 @@
@ -791,6 +801,7 @@
@ -898,6 +909,7 @@

View File

@ -161,13 +161,6 @@ public class UpdateRecord extends Composite {
// -1 because the first element is the PLACEHOLDER "Select section..."
int selectedIndex = listBoxSections.getSelectedIndex() - 1;
/*NodeList<Element> elementOption = listBoxSections.getElement().getElementsByTagName("option");
for (int i=0; i<listBoxSections.getItemCount(); i++) {
if(i!=selectedIndex) {
elementOption.getItem(i).setAttribute("disabled",
"disabled");
}
}*/
MetaDataProfileBeanExt selectedBean = result.getTheProfileBeans()
.get(selectedIndex);

View File

@ -1534,7 +1534,7 @@ public class GeoportalDataEntryServiceImpl extends RemoteServiceServlet implemen
ProjectEdit projectEdit = Geoportal_JSON_Mapper.loadProjectEdit(theProjectDV, scope, user.getUsername());
if (LOG.isDebugEnabled()) {
if (LOG.isDebugEnabled() || !SessionUtil.isIntoPortal()) {
Geoportal_JSON_Mapper.prettyPrintProjectEdit(projectEdit);
}