Adjusting to recent changes in NB proper.
1.1 --- a/java.hints/spi.java.hints/test/unit/src/org/netbeans/spi/java/hints/matching/CopyFinderTest.java Mon Sep 23 00:12:26 2013 +0200
1.2 +++ b/java.hints/spi.java.hints/test/unit/src/org/netbeans/spi/java/hints/matching/CopyFinderTest.java Sat Oct 05 22:43:49 2013 +0200
1.3 @@ -64,7 +64,7 @@
1.4 import org.netbeans.api.java.source.matching.Pattern;
1.5 import org.netbeans.api.lexer.Language;
1.6 import org.netbeans.junit.NbTestCase;
1.7 -import org.netbeans.modules.java.hints.introduce.IntroduceHint;
1.8 +import org.netbeans.modules.java.hints.introduce.IntroduceMethodFix;
1.9 import org.netbeans.modules.java.hints.spiimpl.pm.BulkSearch;
1.10 import org.netbeans.modules.java.hints.spiimpl.pm.BulkSearch.BulkPattern;
1.11 import org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler;
1.12 @@ -1496,7 +1496,7 @@
1.13 int[] statements = new int[2];
1.14
1.15 int[] currentRegion = regions.get(0);
1.16 - TreePathHandle tph = IntroduceHint.validateSelectionForIntroduceMethod(info, currentRegion[0], currentRegion[1], statements);
1.17 + TreePathHandle tph = IntroduceMethodFix.validateSelectionForIntroduceMethod(info, currentRegion[0], currentRegion[1], statements);
1.18
1.19 assertNotNull(tph);
1.20
1.21 @@ -1549,7 +1549,7 @@
1.22 if (region == currentRegion) continue;
1.23
1.24 int[] stmts = new int[2];
1.25 - TreePathHandle gtph = IntroduceHint.validateSelectionForIntroduceMethod(info, region[0], region[1], stmts);
1.26 + TreePathHandle gtph = IntroduceMethodFix.validateSelectionForIntroduceMethod(info, region[0], region[1], stmts);
1.27
1.28 assertNotNull(gtph);
1.29