You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/01/12 09:52:43 UTC
[camel] branch master updated: Remove deprecated method
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new a4c0880 Remove deprecated method
a4c0880 is described below
commit a4c0880784b268c8e4004a21ff86f40f0cb4ebd6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jan 12 10:48:45 2019 +0100
Remove deprecated method
---
.../runtimecatalog/impl/AbstractCamelCatalog.java | 8 --------
.../org/apache/camel/catalog/CamelCatalog.java | 24 ----------------------
2 files changed, 32 deletions(-)
diff --git a/camel-core/src/main/java/org/apache/camel/runtimecatalog/impl/AbstractCamelCatalog.java b/camel-core/src/main/java/org/apache/camel/runtimecatalog/impl/AbstractCamelCatalog.java
index db829ca..bf0ce9a 100644
--- a/camel-core/src/main/java/org/apache/camel/runtimecatalog/impl/AbstractCamelCatalog.java
+++ b/camel-core/src/main/java/org/apache/camel/runtimecatalog/impl/AbstractCamelCatalog.java
@@ -837,14 +837,6 @@ public abstract class AbstractCamelCatalog {
return null;
}
- public String asEndpointUri(String scheme, String json, boolean encode) throws URISyntaxException {
- return doAsEndpointUri(scheme, json, "&", encode);
- }
-
- public String asEndpointUriXml(String scheme, String json, boolean encode) throws URISyntaxException {
- return doAsEndpointUri(scheme, json, "&", encode);
- }
-
private String doAsEndpointUri(String scheme, String json, String ampersand, boolean encode) throws URISyntaxException {
List<Map<String, String>> rows = JSonSchemaHelper.parseJsonSchema("properties", json, true);
diff --git a/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java b/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
index c10b4e8..9127842 100644
--- a/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
+++ b/platforms/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
@@ -474,30 +474,6 @@ public interface CamelCatalog {
String endpointComponentName(String uri);
/**
- * Creates an endpoint uri in Java style from the information in the json schema
- *
- * @param scheme the endpoint schema
- * @param json the json schema with the endpoint properties
- * @param encode whether to URL encode the returned uri or not
- * @return the constructed endpoint uri
- * @throws java.net.URISyntaxException is thrown if there is encoding error
- */
- @Deprecated
- String asEndpointUri(String scheme, String json, boolean encode) throws URISyntaxException;
-
- /**
- * Creates an endpoint uri in XML style from the information in the json schema
- *
- * @param scheme the endpoint schema
- * @param json the json schema with the endpoint properties
- * @param encode whether to URL encode the returned uri or not
- * @return the constructed endpoint uri
- * @throws java.net.URISyntaxException is thrown if there is encoding error
- */
- @Deprecated
- String asEndpointUriXml(String scheme, String json, boolean encode) throws URISyntaxException;
-
- /**
* Creates an endpoint uri in Java style from the information from the properties
*
* @param scheme the endpoint schema