1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Renamed "local_folder" to "localFolder".

The naturalize tool detected that using "localFolder" is more consistent
with the current codebase state:
* "localFolder" in MessageListFragment is 76.31% probable ("local_folder" 23.69%)
This commit is contained in:
Miltos Allamanis 2014-02-26 14:30:57 +00:00
parent 2df205874e
commit 6075addfd0

View File

@ -1008,17 +1008,17 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
} }
private FolderInfoHolder getFolder(String folder, Account account) { private FolderInfoHolder getFolder(String folder, Account account) {
LocalFolder local_folder = null; LocalFolder localFolder = null;
try { try {
LocalStore localStore = account.getLocalStore(); LocalStore localStore = account.getLocalStore();
local_folder = localStore.getFolder(folder); localFolder = localStore.getFolder(folder);
return new FolderInfoHolder(mContext, local_folder, account); return new FolderInfoHolder(mContext, localFolder, account);
} catch (Exception e) { } catch (Exception e) {
Log.e(K9.LOG_TAG, "getFolder(" + folder + ") goes boom: ", e); Log.e(K9.LOG_TAG, "getFolder(" + folder + ") goes boom: ", e);
return null; return null;
} finally { } finally {
if (local_folder != null) { if (localFolder != null) {
local_folder.close(); localFolder.close();
} }
} }
} }