From 64b5655d7ce104544b963a0e9b322feafdd26d5d Mon Sep 17 00:00:00 2001 From: Fiouz Date: Tue, 14 Dec 2010 19:26:31 +0000 Subject: [PATCH] Don't reference the enclosing type instance when it's not used (memory optimisation) --- src/com/fsck/k9/activity/MessageView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index ee125b4d7..062808719 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -208,7 +208,7 @@ public class MessageView extends K9Activity implements OnClickListener * Pair class is only available since API Level 5, so we need * this helper class unfortunately */ - private class HeaderEntry + private static class HeaderEntry { public String label; public String value; @@ -784,7 +784,7 @@ public class MessageView extends K9Activity implements OnClickListener } } - class Attachment + static class Attachment { public String name; public String contentType;