mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
deprecation and javadoc for com.intellij.codeInsight.completion.impl.CamelHumpMatcher.forceStartMatching
This commit is contained in:
@@ -93,7 +93,13 @@ public class CamelHumpMatcher extends PrefixMatcher {
|
||||
return myPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* In an ideal world, all tests would use the same settings as production, i.e. middle matching.
|
||||
* If you see a usage of this method which can be easily removed (i.e. it's easy to make a test pass without it
|
||||
* by modifying test expectations slightly), please do it
|
||||
*/
|
||||
@TestOnly
|
||||
@Deprecated
|
||||
public static void forceStartMatching(Disposable parent) {
|
||||
ourForceStartMatching = true;
|
||||
Disposer.register(parent, new Disposable() {
|
||||
|
||||
Reference in New Issue
Block a user