Skip to content

Commit 2637d86

Browse files
committed
Merge pull request android10#43 from lalongooo/master
Remove static and final modifiers on RestApi interface
2 parents 71a3eab + 45d9fd7 commit 2637d86

File tree

1 file changed

+3
-3
lines changed
  • data/src/main/java/com/fernandocejas/android10/sample/data/net

1 file changed

+3
-3
lines changed

data/src/main/java/com/fernandocejas/android10/sample/data/net/RestApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
* RestApi for retrieving data from the network.
2424
*/
2525
public interface RestApi {
26-
static final String API_BASE_URL = "http://www.android10.org/myapi/";
26+
String API_BASE_URL = "http://www.android10.org/myapi/";
2727

2828
/** Api url for getting all users */
29-
static final String API_URL_GET_USER_LIST = API_BASE_URL + "users.json";
29+
String API_URL_GET_USER_LIST = API_BASE_URL + "users.json";
3030
/** Api url for getting a user profile: Remember to concatenate id + 'json' */
31-
static final String API_URL_GET_USER_DETAILS = API_BASE_URL + "user_";
31+
String API_URL_GET_USER_DETAILS = API_BASE_URL + "user_";
3232

3333
/**
3434
* Retrieves an {@link rx.Observable} which will emit a List of {@link UserEntity}.

0 commit comments

Comments
 (0)