Skip to content

Commit 330649d

Browse files
author
kunal
committed
Refactored code by changing method name
1 parent aec9c7b commit 330649d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/twitter/clientlib/ServerConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public ServerConfiguration(String URL, String description, Map<String, ServerVar
2727
* @param variables A map between a variable name and its value.
2828
* @return Formatted URL.
2929
*/
30-
public String URL(Map<String, String> variables) {
30+
public String formatUrl(Map<String, String> variables) {
3131
String url = this.URL;
3232

3333
// go through variables and replace placeholders
@@ -52,7 +52,7 @@ public String URL(Map<String, String> variables) {
5252
*
5353
* @return Formatted URL.
5454
*/
55-
public String URL() {
56-
return URL(null);
55+
public String formatUrl() {
56+
return formatUrl(null);
5757
}
5858
}

0 commit comments

Comments
 (0)