Don't reference the enclosing type instance when it's not used (memory optimisation)

This commit is contained in:
Fiouz 2010-12-14 19:26:51 +00:00
parent fb348449c3
commit 05a8a31d4a
1 changed files with 5 additions and 5 deletions

View File

@ -2739,7 +2739,7 @@ public class ImapStore extends Store
}
}
class ImapMessage extends MimeMessage
static class ImapMessage extends MimeMessage
{
ImapMessage(String uid, Folder folder)
{
@ -2778,7 +2778,7 @@ public class ImapStore extends Store
}
}
class ImapBodyPart extends MimeBodyPart
static class ImapBodyPart extends MimeBodyPart
{
public ImapBodyPart() throws MessagingException
{
@ -2791,7 +2791,7 @@ public class ImapStore extends Store
}
}
class ImapException extends MessagingException
static class ImapException extends MessagingException
{
String mAlertText;
@ -3581,7 +3581,7 @@ public class ImapStore extends Store
List<ImapResponse> search() throws IOException, MessagingException;
}
private class FetchBodyCallback implements ImapResponseParser.IImapResponseCallback
private static class FetchBodyCallback implements ImapResponseParser.IImapResponseCallback
{
private HashMap<String, Message> mMessageMap;
@ -3610,7 +3610,7 @@ public class ImapStore extends Store
}
}
private class FetchPartCallback implements ImapResponseParser.IImapResponseCallback
private static class FetchPartCallback implements ImapResponseParser.IImapResponseCallback
{
private Part mPart;