Skip to content

Commit 273c490

Browse files
committed
Adding deprecation sign to all frequentrly used classes in RC API
1 parent a79f932 commit 273c490

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

Diff for: java/client/src/com/thoughtworks/selenium/CommandProcessor.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
* Provides a <code>doCommand</code> method, which sends the command to the browser to be performed.
2323
* </p>
2424
*
25-
*
25+
*
2626
* @author Paul Hammant
2727
* @version $Revision$
28+
* @deprecated The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.
2829
*/
30+
@Deprecated
2931
public interface CommandProcessor {
3032

3133
/**

Diff for: java/client/src/com/thoughtworks/selenium/DefaultSelenium.java

+3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
/**
2323
* The default implementation of the Selenium interface; <i>end users will primarily interact with
2424
* this object.</i>
25+
*
26+
* @deprecated The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.
2527
*/
28+
@Deprecated
2629
public class DefaultSelenium implements Selenium {
2730

2831
protected CommandProcessor commandProcessor;

Diff for: java/client/src/com/thoughtworks/selenium/HttpCommandProcessor.java

+2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
* Sends commands and retrieves results via HTTP.
4141
*
4242
* @author Ben Griffiths, Jez Humble
43+
* @deprecated The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.
4344
*/
45+
@Deprecated
4446
public class HttpCommandProcessor implements CommandProcessor {
4547

4648
private String pathToServlet;

Diff for: java/client/src/com/thoughtworks/selenium/SeleneseTestBase.java

+2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
* </p>
3636
*
3737
* @author Nelson Sproul ([email protected]) Mar 13-06
38+
* @deprecated The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.
3839
*/
40+
@Deprecated
3941
public class SeleneseTestBase {
4042

4143
private static final boolean THIS_IS_WINDOWS = File.pathSeparator.equals(";");

Diff for: java/client/src/com/thoughtworks/selenium/Wait.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* @author Dan Fabulich
3636
*
3737
* @deprecated Moved to com.thoughtworks.selenium.webdriven
38-
*
3938
*/
39+
@Deprecated
4040
public abstract class Wait {
4141
public Wait() {
4242
}

0 commit comments

Comments
 (0)