diff options
author | Eike Stepper | 2008-10-07 16:39:35 +0000 |
---|---|---|
committer | Eike Stepper | 2008-10-07 16:39:35 +0000 |
commit | f7159321e74cb919908959d554f9d6e312764438 (patch) | |
tree | cddf53b2c85bda21abee98af5588e201fbced669 | |
parent | f7df831098aadbec8f215094103e108d7bbefe47 (diff) | |
download | cdo-f7159321e74cb919908959d554f9d6e312764438.tar.gz cdo-f7159321e74cb919908959d554f9d6e312764438.tar.xz cdo-f7159321e74cb919908959d554f9d6e312764438.zip |
[249988] IHTTPConnector is present in 2 bundles!
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249988
-rw-r--r-- | plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/HTTPUtil.java | 4 | ||||
-rw-r--r-- | plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/IHTTPConnector.java | 28 |
2 files changed, 4 insertions, 28 deletions
diff --git a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/HTTPUtil.java b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/HTTPUtil.java index 9943bb1e2c..835b94a6c7 100644 --- a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/HTTPUtil.java +++ b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/HTTPUtil.java @@ -10,6 +10,7 @@ **************************************************************************/ package org.eclipse.net4j.http; +import org.eclipse.net4j.http.common.IHTTPConnector; import org.eclipse.net4j.internal.http.HTTPConnectorFactory; import org.eclipse.net4j.util.container.IManagedContainer; @@ -27,6 +28,9 @@ public final class HTTPUtil container.registerFactory(new HTTPConnectorFactory()); } + /** + * @since 2.0 + */ public static IHTTPConnector getConnector(IManagedContainer container, String description) { return (IHTTPConnector)container.getElement(HTTPConnectorFactory.PRODUCT_GROUP, HTTPConnectorFactory.TYPE, diff --git a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/IHTTPConnector.java b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/IHTTPConnector.java deleted file mode 100644 index eb4e71415d..0000000000 --- a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/http/IHTTPConnector.java +++ /dev/null @@ -1,28 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2004 - 2008 Eike Stepper, Germany. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - **************************************************************************/ -package org.eclipse.net4j.http; - -import org.eclipse.net4j.connector.IConnector; - -/** - * @author Eike Stepper - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface IHTTPConnector extends IConnector -{ - public static final int DEFAULT_POLL_INTERVAL = 5 * 1000;// 5 seconds - - public static final int UNKNOWN_MAX_IDLE_TIME = -1; - - public String getConnectorID(); - - public int getMaxIdleTime(); -} |