From 1e0e8d81f30cd9f9bc39279d955aebe87603468a Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 18 Feb 2013 14:58:00 +0100 Subject: [PATCH] a bit more comprehensive comment in MinusculeMatcher.matchingDegree --- .../util/src/com/intellij/psi/codeStyle/MinusculeMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/psi/codeStyle/MinusculeMatcher.java b/platform/util/src/com/intellij/psi/codeStyle/MinusculeMatcher.java index 3f7ea29f5018..2ac1ccc79059 100644 --- a/platform/util/src/com/intellij/psi/codeStyle/MinusculeMatcher.java +++ b/platform/util/src/com/intellij/psi/codeStyle/MinusculeMatcher.java @@ -117,7 +117,7 @@ public class MinusculeMatcher implements Matcher { int p = -1; TextRange first = null; - int integral = 0; // matching-character-count * hump-index; favors longer fragments matching earlier words + int integral = 0; // sum of matching-character-count * hump-index over all matched humps; favors longer fragments matching earlier words int humpIndex = 0; int nextHumpStart = name.isEmpty() ? 0: NameUtil.nextWord(name, 0); for (TextRange range : iterable) {