From be954d729cf788fa8082dacfb487ee78c3c7f2a7 Mon Sep 17 00:00:00 2001 From: Tobias Baum Date: Sun, 14 Sep 2014 11:18:57 +0200 Subject: [PATCH] Whitespace, Tabs to Spaces --- src/com/fsck/k9/mail/CompositeBody.java | 1 - src/com/fsck/k9/search/ConditionsTreeNode.java | 2 +- src/com/fsck/k9/search/LocalSearch.java | 4 ++-- src/com/fsck/k9/search/SearchSpecification.java | 10 +++++----- tests/src/com/fsck/k9/mail/internet/ViewablesTest.java | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/com/fsck/k9/mail/CompositeBody.java b/src/com/fsck/k9/mail/CompositeBody.java index 88a1996e1..affc792b3 100644 --- a/src/com/fsck/k9/mail/CompositeBody.java +++ b/src/com/fsck/k9/mail/CompositeBody.java @@ -23,7 +23,6 @@ public interface CompositeBody extends Body { * @throws MessagingException * */ - public abstract void setUsing7bitTransport() throws MessagingException; } diff --git a/src/com/fsck/k9/search/ConditionsTreeNode.java b/src/com/fsck/k9/search/ConditionsTreeNode.java index 7730e0725..2db7eef47 100644 --- a/src/com/fsck/k9/search/ConditionsTreeNode.java +++ b/src/com/fsck/k9/search/ConditionsTreeNode.java @@ -54,7 +54,7 @@ public class ConditionsTreeNode implements Parcelable { * should point to rows representing the nodes of the tree. * * @param cursor Cursor pointing to the first of a bunch or rows. Each rows - * should contains 1 tree node. + * should contains 1 tree node. * @return A condition tree. */ public static ConditionsTreeNode buildTreeFromDB(Cursor cursor) { diff --git a/src/com/fsck/k9/search/LocalSearch.java b/src/com/fsck/k9/search/LocalSearch.java index e109e50f4..0dbf861c3 100644 --- a/src/com/fsck/k9/search/LocalSearch.java +++ b/src/com/fsck/k9/search/LocalSearch.java @@ -240,8 +240,8 @@ public class LocalSearch implements SearchSpecification { public void addAllowedFolder(String name) { /* * TODO find folder sub-tree - * - do and on root of it & rest of search - * - do or between folder nodes + * - do and on root of it & rest of search + * - do or between folder nodes */ mConditions = and(new SearchCondition(Searchfield.FOLDER, Attribute.EQUALS, name)); } diff --git a/src/com/fsck/k9/search/SearchSpecification.java b/src/com/fsck/k9/search/SearchSpecification.java index 99edef8a7..7c70b832a 100644 --- a/src/com/fsck/k9/search/SearchSpecification.java +++ b/src/com/fsck/k9/search/SearchSpecification.java @@ -58,8 +58,8 @@ public interface SearchSpecification extends Parcelable { * By result, only the fields in here are searchable. * * Fields not in here at this moment ( and by effect not searchable ): - * id, html_content, internal_date, message_id, - * preview, mime_type + * id, html_content, internal_date, message_id, + * preview, mime_type * */ public enum Searchfield { @@ -92,9 +92,9 @@ public interface SearchSpecification extends Parcelable { /** * This class represents 1 value for a certain search field. One * value consists of three things: - * an attribute: equals, starts with, contains,... - * a searchfield: date, flags, sender, subject,... - * a value: "apple", "jesse",.. + * an attribute: equals, starts with, contains,... + * a searchfield: date, flags, sender, subject,... + * a value: "apple", "jesse",.. * * @author dzan */ diff --git a/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java b/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java index cb62079f3..cceb4bff5 100644 --- a/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java +++ b/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java @@ -100,7 +100,7 @@ public class ViewablesTest extends AndroidTestCase { } public void testTextPlusRfc822Message() throws MessagingException { - K9ActivityCommon.setLanguage(getContext(), "en"); + K9ActivityCommon.setLanguage(getContext(), "en"); Locale.setDefault(Locale.US); TimeZone.setDefault(TimeZone.getTimeZone("GMT+01:00"));