indent the same everywhere, no functional change

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-11-07 23:41:50 +00:00
parent 6f3bf4837d
commit 2c1dc30639
1 changed files with 179 additions and 182 deletions

View File

@ -257,7 +257,6 @@ public final class FuzzyTermEnum extends FilteredTermEnum {
// so it has not been changed (even though minimumSimilarity must be // so it has not been changed (even though minimumSimilarity must be
// greater than 0.0) // greater than 0.0)
return 1.0f - ((float)d[n][m] / (float) (prefix.length() + Math.min(n, m))); return 1.0f - ((float)d[n][m] / (float) (prefix.length() + Math.min(n, m)));
} }
/** /**
@ -265,8 +264,7 @@ public final class FuzzyTermEnum extends FilteredTermEnum {
* Levenshtein difference. * Levenshtein difference.
*/ */
private void growDistanceArray(int m) { private void growDistanceArray(int m) {
for (int i = 0; i < d.length; i++) for (int i = 0; i < d.length; i++) {
{
d[i] = new int[m+1]; d[i] = new int[m+1];
} }
} }
@ -283,8 +281,7 @@ public final class FuzzyTermEnum extends FilteredTermEnum {
} }
private void initializeMaxDistances() { private void initializeMaxDistances() {
for (int i = 0; i < maxDistances.length; i++) for (int i = 0; i < maxDistances.length; i++) {
{
maxDistances[i] = calculateMaxDistance(i); maxDistances[i] = calculateMaxDistance(i);
} }
} }