fixed majority of java-related warnings
diff --git a/src/com/savoirfairelinux/sflphone/fragments/AccountManagementFragment.java b/src/com/savoirfairelinux/sflphone/fragments/AccountManagementFragment.java
index cf96191..c3c692a 100644
--- a/src/com/savoirfairelinux/sflphone/fragments/AccountManagementFragment.java
+++ b/src/com/savoirfairelinux/sflphone/fragments/AccountManagementFragment.java
@@ -136,6 +136,7 @@
Log.i(TAG, "onDestroy");
}
+ @SuppressWarnings("unchecked") // No proper solution with HashMap runtime cast
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
switch (requestCode) {
@@ -295,6 +296,7 @@
startActivityForResult(intent, ACCOUNT_EDIT_REQUEST);
}
+ @SuppressWarnings("unchecked") // No proper solution with HashMap runtime cast
private ArrayList<String> getAccountList() {
ArrayList<String> accountList = null;
try {
@@ -309,6 +311,7 @@
return accountList;
}
+ @SuppressWarnings("unchecked") // No proper solution with HashMap runtime cast
private HashMap<String, String> getAccountDetails(String accountID) {
HashMap<String, String> accountDetails = null;
try {