Fakultas Ilmu Komputer UI

Commit a512ea4d authored by Adzkia Aisyah Afrah Hardian's avatar Adzkia Aisyah Afrah Hardian
Browse files

[REFACTOR] change variable names into camelCase

parent 975d41e0
Pipeline #31400 failed with stages
in 53 seconds
// Frequently used strings are stored here
// No hardcoding string view files. Store here.
final String DEV_BASE_URL = "poipole.herokuapp.com";
final String BASE_URL = "poipole.herokuapp.com";
String KEY = "";
String CSRF = "";
String SESSION_ID = "";
final String devBaseUrl = "poipole.herokuapp.com";
final String baseUrl = "poipole.herokuapp.com";
String key = "";
String csrf = "";
String sessionId = "";
setKey(String key) {
KEY = key;
key = key;
}
setSessionId(String sessionId) {
SESSION_ID = sessionId;
sessionId = sessionId;
}
\ No newline at end of file
......@@ -7,9 +7,9 @@ class ApiFlavor {
static String getBaseUrl() {
if (ApiFlavor.flavor == BuildFlavor.development.toString()) {
return DEV_BASE_URL;
return devBaseUrl;
} else {
return BASE_URL;
return baseUrl;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment