if(requestURI != null){
RemoteExecutionTimestampsUtil.setLastServiceMethod(requestURI.toString());
}
-
}
private void setExecutionResponseHttpHeaderTimestamp(HttpResponse respone){
.setConnectionReuseStrategy(new NoConnectionReuseStrategy()) // see #8812
.build();
}
-}
+}
\ No newline at end of file
// 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");
* 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
}
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);
}
super.done(event);
}
});
-
}
private void showMessage(final Shell parent, final UISynchronize sync) {
* 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;
*
* @author n.hoffmann
* @created 15.06.2009
- * @version 1.0
*/
public class JaxbExportWizard extends AbstractExportWizard<JaxbExportConfigurator> {
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;
return performFinish;
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#addPages()
- */
- /** {@inheritDoc} */
@Override
public void addPages() {
super.addPages();
addPage(page);
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.io.AbstractExportWizard#getConfigurator()
- */
- /** {@inheritDoc} */
@Override
public JaxbExportConfigurator getConfigurator() {
return configurator;
}
-
-
-}
+}
\ No newline at end of file
* 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;
*
* @author p.ciardelli
* @created 31.03.2009
- * @version 1.0
*
* TODO make this extend TitleAreaDialog
*/
new URI(text);
} catch (URISyntaxException e) {
return "URL not correctly formed.";
- }
-
+ }
if (text.length() <= "http://".length()) {
return "";
* Wizard page for selecting the specimen provider
* @author pplitzner
* @date 12.09.2013
- *
*/
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()){
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
/**
* @author pplitzner
* @since Apr 23, 2018
- *
*/
public abstract class AbstractTerminologyServiceRequest {
public String getValue() {
return value;
}
-
}
-}
+}
\ No newline at end of file