mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Don't reference the enclosing type instance when it's not used (memory optimisation)
This commit is contained in:
parent
fb348449c3
commit
05a8a31d4a
@ -2739,7 +2739,7 @@ public class ImapStore extends Store
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ImapMessage extends MimeMessage
|
static class ImapMessage extends MimeMessage
|
||||||
{
|
{
|
||||||
ImapMessage(String uid, Folder folder)
|
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
|
public ImapBodyPart() throws MessagingException
|
||||||
{
|
{
|
||||||
@ -2791,7 +2791,7 @@ public class ImapStore extends Store
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ImapException extends MessagingException
|
static class ImapException extends MessagingException
|
||||||
{
|
{
|
||||||
String mAlertText;
|
String mAlertText;
|
||||||
|
|
||||||
@ -3581,7 +3581,7 @@ public class ImapStore extends Store
|
|||||||
List<ImapResponse> search() throws IOException, MessagingException;
|
List<ImapResponse> search() throws IOException, MessagingException;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class FetchBodyCallback implements ImapResponseParser.IImapResponseCallback
|
private static class FetchBodyCallback implements ImapResponseParser.IImapResponseCallback
|
||||||
{
|
{
|
||||||
private HashMap<String, Message> mMessageMap;
|
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;
|
private Part mPart;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user