Adjusting to recent change in jumpto (GoToTypeAction->Utils)
authorJan Lahoda <jlahoda@netbeans.org>
Mon, 23 Sep 2013 00:06:32 +0200
changeset 9793f3c0fba02c8
parent 978 cb2dd061627f
child 980 959b334f0802
Adjusting to recent change in jumpto (GoToTypeAction->Utils)
remoting/server/web/type.web.api/src/org/netbeans/modules/jackpot30/backend/type/api/Base.java
     1.1 --- a/remoting/server/web/type.web.api/src/org/netbeans/modules/jackpot30/backend/type/api/Base.java	Wed Aug 14 08:17:42 2013 +0200
     1.2 +++ b/remoting/server/web/type.web.api/src/org/netbeans/modules/jackpot30/backend/type/api/Base.java	Mon Sep 23 00:06:32 2013 +0200
     1.3 @@ -51,7 +51,7 @@
     1.4  import org.codeviation.pojson.Pojson;
     1.5  import org.netbeans.modules.jackpot30.backend.base.CategoryStorage;
     1.6  import org.netbeans.modules.jackpot30.backend.base.Utilities;
     1.7 -import org.netbeans.modules.jumpto.type.GoToTypeAction;
     1.8 +import org.netbeans.modules.jumpto.common.Utils;
     1.9  import org.netbeans.modules.parsing.lucene.support.Convertor;
    1.10  import org.netbeans.modules.parsing.lucene.support.Index;
    1.11  import org.netbeans.modules.parsing.lucene.support.Queries;
    1.12 @@ -86,13 +86,13 @@
    1.13          }
    1.14  
    1.15          if (queryKind == null) {
    1.16 -            int wildcard = GoToTypeAction.containsWildCard(prefix);
    1.17 +            int wildcard = Utils.containsWildCard(prefix);
    1.18  
    1.19              if (exact) {
    1.20                  //nameKind = panel.isCaseSensitive() ? SearchType.EXACT_NAME : SearchType.CASE_INSENSITIVE_EXACT_NAME;
    1.21                  queryKind = QueryKind.EXACT;
    1.22              }
    1.23 -            else if ((GoToTypeAction.isAllUpper(prefix) && prefix.length() > 1) || GoToTypeAction.isCamelCase(prefix)) {
    1.24 +            else if ((Utils.isAllUpper(prefix) && prefix.length() > 1) || Utils.isCamelCase(prefix)) {
    1.25                  queryKind = QueryKind.CAMEL_CASE;
    1.26              }
    1.27              else if (wildcard != -1) {