summaryrefslogtreecommitdiff
path: root/java/com/android/voicemail/impl/mail/TempDirectory.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-12-28 02:35:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-12-28 02:35:07 +0000
commit281998c825ad48d842bb653e2f462719fdb0c1d9 (patch)
treebc8bfcce809257b3ddbb423a9808082292b9f6a3 /java/com/android/voicemail/impl/mail/TempDirectory.java
parentfc81a030a7b4f6d4a497f71aed593d398795e7da (diff)
parent183cb71663320f16149d83eeebaff7795a4b55f2 (diff)
Merge "Remove field prefixes."
Diffstat (limited to 'java/com/android/voicemail/impl/mail/TempDirectory.java')
-rw-r--r--java/com/android/voicemail/impl/mail/TempDirectory.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/voicemail/impl/mail/TempDirectory.java b/java/com/android/voicemail/impl/mail/TempDirectory.java
index 42adbeb1f..f12e45b82 100644
--- a/java/com/android/voicemail/impl/mail/TempDirectory.java
+++ b/java/com/android/voicemail/impl/mail/TempDirectory.java
@@ -23,18 +23,18 @@ import java.io.File;
* initialization.
*/
public class TempDirectory {
- private static File sTempDirectory = null;
+ private static File tempDirectory = null;
public static void setTempDirectory(Context context) {
- sTempDirectory = context.getCacheDir();
+ tempDirectory = context.getCacheDir();
}
public static File getTempDirectory() {
- if (sTempDirectory == null) {
+ if (tempDirectory == null) {
throw new RuntimeException(
"TempDirectory not set. "
+ "If in a unit test, call Email.setTempDirectory(context) in setUp().");
}
- return sTempDirectory;
+ return tempDirectory;
}
}