Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2018-02-12 05:17:37 -0500
committerLars Vogel2018-02-12 05:17:37 -0500
commit96e7c74fbe4889ee584a84c73a954c4756e5f268 (patch)
tree06a68805a47d355ab9fc88debb99ebc83d34e8fe
parentce56a0e12ccc495fa9319cadecf18e2bf7d6a9b6 (diff)
downloadeclipse.platform.text-96e7c74fbe4889ee584a84c73a954c4756e5f268.tar.gz
eclipse.platform.text-96e7c74fbe4889ee584a84c73a954c4756e5f268.tar.xz
eclipse.platform.text-96e7c74fbe4889ee584a84c73a954c4756e5f268.zip
Minor - Variable declaration should be in its own lineI20180213-0125I20180212-2000
Change-Id: Ia41e6742b95df66d1dfaeef0675a1c081e96333b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
index 70be72679..9d42e2d82 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
@@ -142,7 +142,8 @@ public abstract class AbstractTextSearchResult implements ISearchResult {
private static int getInsertIndex(List<Match> matches, Match match) {
int count= matches.size();
- int min = 0, max = count - 1;
+ int min = 0;
+ int max = count - 1;
while (min <= max) {
int mid = (min + max) / 2;
Match data = matches.get(mid);

Back to the top