Deleting unused private methods
@@ -383,18 +383,10 @@ private void performNavigation(WebDriver driver, String firstUrl) {
wait.until(titleIs("Page 3"));
}
- private static String buildPage1Url(String nextUrl) {
- return "/page1.html?next=" + encode(nextUrl);
- }
-
private static String buildPage1Url(ServerResource server, String nextUrl) {
return server.getBaseUrl() + "/page1.html?next=" + encode(nextUrl);
}
- private static String buildPage2Url(String nextUrl) {
- return "/page2.html?next=" + encode(nextUrl);
- }
-
private static String buildPage2Url(String server, String nextUrl) {
return server + "/page2.html?next=" + encode(nextUrl);
}
@@ -411,10 +403,6 @@ private static String buildPage2Url(ServerResource server) {
return server.getBaseUrl() + "/page2.html"; // Nothing special here.
}
- private static String buildPage3Url() {
- return "/page3.html"; // Nothing special here.
- }
-
private static String buildPage3Url(ServerResource server) {
return server.getBaseUrl() + "/page3.html"; // Nothing special here.
}
