From d5bb8d6bd8408874f4586d617ca6414d6b75732d Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 18 Dec 2018 14:34:47 +0100 Subject: [PATCH] fixed methodNames (one typo and camel case) --- src/main/java/me/figo/models/CatalogBank.java | 6 +++--- src/main/java/me/figo/models/Language.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/me/figo/models/CatalogBank.java b/src/main/java/me/figo/models/CatalogBank.java index aeece9c..fe9354a 100644 --- a/src/main/java/me/figo/models/CatalogBank.java +++ b/src/main/java/me/figo/models/CatalogBank.java @@ -54,11 +54,11 @@ public String getAdvice() { return advice; } - public String getBank_name() { + public String getBankName() { return bank_name; } - public String getBank_code() { + public String getBankCode() { return bank_code; } @@ -95,7 +95,7 @@ public String getIconUrl() { * @return the bank icon in other resolutions */ @SuppressWarnings("unchecked") - public Map getAddtionalIcons() { + public Map getAdditionalIcons() { if(icon!=null&&icon.size()>1){ return (LinkedTreeMap) icon.get(1); } diff --git a/src/main/java/me/figo/models/Language.java b/src/main/java/me/figo/models/Language.java index c0a96cd..3f8c987 100644 --- a/src/main/java/me/figo/models/Language.java +++ b/src/main/java/me/figo/models/Language.java @@ -19,10 +19,10 @@ public class Language { @Expose private String current_language; - public List getAvailable_languages() { + public List getAvailableLanguages() { return available_languages; } - public String getCurrent_language() { + public String getCurrentLanguage() { return current_language; } }