1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Refactoring

This commit is contained in:
M66B 2021-04-28 08:15:48 +02:00
parent 962358d876
commit 46f7fde754

View file

@ -254,23 +254,23 @@ public class EntityOperation {
File msource = message.getFile(context); File msource = message.getFile(context);
// Copy message to target folder // Copy message to target folder
long id = message.id; long _id = message.id;
Long identity = message.identity; Long _identity = message.identity;
long uid = message.uid; long _uid = message.uid;
Boolean raw = message.raw; Boolean _raw = message.raw;
Long stored = message.stored; Long _stored = message.stored;
int notifying = message.notifying; int _notifying = message.notifying;
boolean fts = message.fts; boolean _fts = message.fts;
boolean _auto_classified = message.auto_classified; boolean _auto_classified = message.auto_classified;
Integer importance = message.importance; Integer _importance = message.importance;
boolean seen = message.seen; boolean _seen = message.seen;
boolean flagged = message.flagged; boolean _flagged = message.flagged;
boolean ui_seen = message.ui_seen; boolean _ui_seen = message.ui_seen;
boolean ui_flagged = message.ui_flagged; boolean _ui_flagged = message.ui_flagged;
Boolean ui_hide = message.ui_hide; Boolean _ui_hide = message.ui_hide;
boolean ui_browsed = message.ui_browsed; boolean _ui_browsed = message.ui_browsed;
Integer color = message.color; Integer _color = message.color;
String error = message.error; String _error = message.error;
message.id = null; message.id = null;
message.account = target.account; message.account = target.account;
@ -302,25 +302,25 @@ public class EntityOperation {
long tmpid = message.id; long tmpid = message.id;
jargs.put(2, tmpid); jargs.put(2, tmpid);
message.id = id; message.id = _id;
message.account = source.account; message.account = source.account;
message.folder = source.id; message.folder = source.id;
message.identity = identity; message.identity = _identity;
message.uid = uid; message.uid = _uid;
message.raw = raw; message.raw = _raw;
message.stored = stored; message.stored = _stored;
message.notifying = notifying; message.notifying = _notifying;
message.fts = fts; message.fts = _fts;
message.auto_classified = _auto_classified; message.auto_classified = _auto_classified;
message.importance = importance; message.importance = _importance;
message.seen = seen; message.seen = _seen;
message.flagged = flagged; message.flagged = _flagged;
message.ui_seen = ui_seen; message.ui_seen = _ui_seen;
message.ui_flagged = ui_flagged; message.ui_flagged = _ui_flagged;
message.ui_hide = ui_hide; message.ui_hide = _ui_hide;
message.ui_browsed = ui_browsed; message.ui_browsed = _ui_browsed;
message.color = color; message.color = _color;
message.error = error; message.error = _error;
if (message.content) if (message.content)
try { try {