cleanup
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 6 Jan 2021 09:49:15 +0000 (10:49 +0100)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 6 Jan 2021 09:49:15 +0000 (10:49 +0100)
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/TimestampingHttpInvokerRequestExecutor.java
eu.etaxonomy.taxeditor.local/src/main/java/eu/etaxonomy/taxeditor/local/CdmServer.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/P2Util.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/SearchPluginHandler.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/JaxbExportWizard.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/UriDialog.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/SpecimenProviderSelectionWizardPage.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/requests/AbstractTerminologyServiceRequest.java

index a6b3105618602096be1358d351b7e670aab2b3c1..7dd57e825bcfed180bfa8db638737dd845a7b33b 100644 (file)
@@ -80,7 +80,6 @@ public class TimestampingHttpInvokerRequestExecutor extends HttpComponentsHttpIn
         if(requestURI != null){
             RemoteExecutionTimestampsUtil.setLastServiceMethod(requestURI.toString());
         }
-
     }
 
     private void setExecutionResponseHttpHeaderTimestamp(HttpResponse respone){
@@ -106,4 +105,4 @@ public class TimestampingHttpInvokerRequestExecutor extends HttpComponentsHttpIn
                 .setConnectionReuseStrategy(new NoConnectionReuseStrategy()) // see #8812
                 .build();
     }
-}
+}
\ No newline at end of file
index f2779e6d93e1735903e15217525af01f1413b9f4..6947df70b0cd9c6f4b9c72b643fe3ae46266876a 100644 (file)
@@ -89,7 +89,7 @@ public class CdmServer {
             // We need to use the 3-arg constructor of URI in order to properly escape file system chars
             URI resolvedURI = new URI(resolvedWarURL.getProtocol(), resolvedWarURL.getPath(), null);
             warFile = new File(resolvedURI);
-            System.out.println("war url : " + warFile.getAbsolutePath());
+//            System.out.println("war url : " + warFile.getAbsolutePath());
 
             if(warFile == null || !warFile.exists()) {
                 throw new CdmEmbeddedServerException("Cdmlib War file does not exist");
index d5a62f5e0bdb32e3a73697b1986074b762b3540a..1cd9530e4a252721a082afcde439c0841391dee2 100644 (file)
@@ -21,13 +21,11 @@ import eu.etaxonomy.taxeditor.util.ApplicationUtil;
  * This class is a utility class for updating the editor from a p2 update site,
  * greatly inspired by the links given below.
  *
- *
  * To Do :
  * - Allow configurable update sites
  *
  * Notes :
  *
- *
  * @see http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_RCP_Application
  * @see http://bugs.eclipse.org/281226
  * @see http://www.vogella.com/tutorials/EclipseP2Update/article.html
@@ -60,12 +58,12 @@ public class P2Util {
     }
 
     public static String getP2UpdateRepositoryName(){
-        return ApplicationUtil.isStable()?EDIT_STABLE_UPDATE_SITE_NAME:EDIT_NIGHTLY_UPDATE_SITE_NAME;
+        return ApplicationUtil.isStable()? EDIT_STABLE_UPDATE_SITE_NAME : EDIT_NIGHTLY_UPDATE_SITE_NAME;
     }
 
     public static URI getP2UpdateRepository(){
         try {
-            return ApplicationUtil.isStable()?new URI(EDIT_STABLE_UPDATE_SITE):new URI(EDIT_NIGHTLY_UPDATE_SITE);
+            return ApplicationUtil.isStable()? new URI(EDIT_STABLE_UPDATE_SITE) : new URI(EDIT_NIGHTLY_UPDATE_SITE);
         } catch (URISyntaxException e) {
             MessagingUtils.error(P2Util.class, e);
         }
index efb5bfb25ff30caeeb21bb3ad8d3e9aa2679db6b..d3c18f6aff8039790cc7b9aa4309ab4289055dc1 100755 (executable)
@@ -131,7 +131,6 @@ public class SearchPluginHandler {
                 super.done(event);
             }
         });
-
     }
 
     private void showMessage(final Shell parent, final UISynchronize sync) {
index 14a89a3332b9c2b9b430a5ffc1c5052763280c10..cffd58d1e8a6ed8d970be59a6d0fdcf2753de1f4 100644 (file)
@@ -6,11 +6,9 @@
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
-
 package eu.etaxonomy.taxeditor.io.wizard;
 
 import java.io.File;
-import java.net.URI;
 
 import org.eclipse.core.runtime.jobs.Job;
 import org.eclipse.jface.viewers.IStructuredSelection;
@@ -25,7 +23,6 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
  *
  * @author n.hoffmann
  * @created 15.06.2009
- * @version 1.0
  */
 public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurator> {
 
@@ -33,20 +30,12 @@ public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurato
 
        private JaxbExportConfigurator configurator;
 
-       /* (non-Javadoc)
-        * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
-        */
-       /** {@inheritDoc} */
        @Override
     public void init(IWorkbench workbench, IStructuredSelection selection) {
                this.setWindowTitle("JAXB Export");
                this.configurator = CdmStore.getExportManager().JaxbConfigurator();
        }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.jface.wizard.Wizard#performFinish()
-        */
-       /** {@inheritDoc} */
        @Override
        public boolean performFinish() {
                boolean performFinish = false;
@@ -67,10 +56,6 @@ public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurato
                return performFinish;
        }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.jface.wizard.Wizard#addPages()
-        */
-       /** {@inheritDoc} */
        @Override
        public void addPages() {
                super.addPages();
@@ -79,14 +64,8 @@ public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurato
                addPage(page);
        }
 
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.io.AbstractExportWizard#getConfigurator()
-        */
-       /** {@inheritDoc} */
        @Override
        public JaxbExportConfigurator getConfigurator() {
                return configurator;
        }
-
-
-}
+}
\ No newline at end of file
index 2f5e41af51d7705e6d8df1ebfe8aceb881f6f266..1fc440d603a873f0e9183da822cf4b91700c0a68 100644 (file)
@@ -6,7 +6,6 @@
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
-
 package eu.etaxonomy.taxeditor.ui.dialog;
 
 import java.net.URI;
@@ -24,7 +23,6 @@ import eu.etaxonomy.taxeditor.model.MessagingUtils;
  *
  * @author p.ciardelli
  * @created 31.03.2009
- * @version 1.0
  *
  * TODO make this extend TitleAreaDialog
  */
@@ -48,8 +46,7 @@ public class UriDialog extends InputDialog {
                                                        new URI(text);
                                                } catch (URISyntaxException e) {
                                                        return "URL not correctly formed.";
-                                               }
-                                               
+                                               }       
                                                
                                                if (text.length() <= "http://".length()) {
                                                        return "";
index cdb720b8c550826d56a794bfd1f47d78f62912d2..bfc4791c9f3a041d777d62818d5436cc9e234d19 100644 (file)
@@ -25,7 +25,6 @@ import eu.etaxonomy.taxeditor.view.search.specimen.SpecimenProviderSelectionCont
  * Wizard page for selecting the specimen provider
  * @author pplitzner
  * @date 12.09.2013
- *
  */
 public class SpecimenProviderSelectionWizardPage extends WizardPage{
 
@@ -60,17 +59,10 @@ public class SpecimenProviderSelectionWizardPage extends WizardPage{
         }
     }
 
-    /**
-     * @return
-     * @throws URISyntaxException
-     */
     public URI getEndPoint() {
         return endPoint;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.wizard.WizardPage#isPageComplete()
-     */
     @Override
     public boolean isPageComplete() {
         if(specimenProviderSelectionController.getComposite().getBtnBioCaseProvider().getSelection()){
@@ -96,28 +88,14 @@ public class SpecimenProviderSelectionWizardPage extends WizardPage{
         return false;
     }
 
-    /**
-     * @return the bioCaseQueryServiceWrapper
-     */
     public ServiceWrapperBase getQueryServiceWrapper() {
         return serviceWrapper;
     }
-
-    /**
-     * @param bioCaseQueryServiceWrapper the bioCaseQueryServiceWrapper to set
-     */
     public void setQueryServiceWrapper(ServiceWrapperBase queryServiceWrapper) {
         this.serviceWrapper = queryServiceWrapper;
     }
 
-    /**
-     * @return
-     */
     public SpecimenProviderSelectionController getController() {
         return specimenProviderSelectionController;
     }
-
-
-
-
-}
+}
\ No newline at end of file
index 4f8861f342796b9d73c06c53bcb26f715e1a6b90..145686fdb7640e64cd6fbb2cd347234cf0a5191e 100644 (file)
@@ -20,7 +20,6 @@ import java.util.List;
 /**
  * @author pplitzner
  * @since Apr 23, 2018
- *
  */
 public abstract class AbstractTerminologyServiceRequest {
 
@@ -89,6 +88,5 @@ public abstract class AbstractTerminologyServiceRequest {
         public String getValue() {
             return value;
         }
-
     }
-}
+}
\ No newline at end of file