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

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
@ -106,7 +107,8 @@
<wb-module deploy-name="geoportal-data-entry-app-3.2.0-SNAPSHOT">
@ -213,7 +215,8 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -320,7 +323,8 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -427,7 +431,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -486,13 +491,17 @@
<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>
<dependent-module archiveName="geoportal-data-common-2.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-data-common/geoportal-data-common">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -599,7 +608,8 @@
<property name="context-root" value="geoportal-data-entry-app"/>
@ -706,7 +716,8 @@
<property name="java-output-path" value="/geoportal-data-entry-app/target/geoportal-data-entry-app-2.0.0-SNAPSHOT/WEB-INF/classes"/>
@ -813,7 +824,8 @@
</wb-module>

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);
}