From 5013823a1b2cd60f0c82c43e353b00684c48b6aa Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Tue, 13 Feb 2018 23:12:38 +0300 Subject: [PATCH] [java] Deleting bean-json converters deprecated in 3.6 --- .../src/org/openqa/selenium/remote/BUCK | 2 -- .../selenium/remote/BeanToJsonConverter.java | 27 ------------------ .../selenium/remote/JsonToBeanConverter.java | 28 ------------------- 3 files changed, 57 deletions(-) delete mode 100644 java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java delete mode 100644 java/client/src/org/openqa/selenium/remote/JsonToBeanConverter.java diff --git a/java/client/src/org/openqa/selenium/remote/BUCK b/java/client/src/org/openqa/selenium/remote/BUCK index c8754cf595019..25d7d5ce4b413 100644 --- a/java/client/src/org/openqa/selenium/remote/BUCK +++ b/java/client/src/org/openqa/selenium/remote/BUCK @@ -74,7 +74,6 @@ java_library(name = 'remote', java_library(name = 'remote-lib', srcs = [ - 'BeanToJsonConverter.java', 'CommandCodec.java', 'CommandInfo.java', 'Dialect.java', @@ -87,7 +86,6 @@ java_library(name = 'remote-lib', 'HandshakeResponse.java', 'HttpCommandExecutor.java', 'InitialHandshakeResponse.java', - 'JsonToBeanConverter.java', 'JsonWireProtocolResponse.java', 'LocalFileDetector.java', 'NewSessionPayload.java', diff --git a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java b/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java deleted file mode 100644 index ea0495d4df7fd..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java +++ /dev/null @@ -1,27 +0,0 @@ -// Licensed to the Software Freedom Conservancy (SFC) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The SFC licenses this file -// to you under the Apache License, Version 2.0 (the -// "License"); you may not use this file except in compliance -// with the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - -package org.openqa.selenium.remote; - -/** - * Utility class for converting between JSON and Java Objects. - - * @deprecated Use {@link org.openqa.selenium.json.Json#toJson(Object)}. - */ -@Deprecated -public class BeanToJsonConverter extends org.openqa.selenium.json.BeanToJsonConverter { -} diff --git a/java/client/src/org/openqa/selenium/remote/JsonToBeanConverter.java b/java/client/src/org/openqa/selenium/remote/JsonToBeanConverter.java deleted file mode 100644 index 8854179bc9405..0000000000000 --- a/java/client/src/org/openqa/selenium/remote/JsonToBeanConverter.java +++ /dev/null @@ -1,28 +0,0 @@ -// Licensed to the Software Freedom Conservancy (SFC) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The SFC licenses this file -// to you under the Apache License, Version 2.0 (the -// "License"); you may not use this file except in compliance -// with the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - -package org.openqa.selenium.remote; - - -import java.lang.reflect.Type; - -/** - * @deprecated Use {@link org.openqa.selenium.json.Json#toType(Object, Type)}. - */ -@Deprecated -public class JsonToBeanConverter extends org.openqa.selenium.json.JsonToBeanConverter { -}