Commits

Jan Lahoda committed db82e05

Removing obsolete code (moved to code's tests).

Comments (0)

Files changed (1)

api/test/unit/src/org/netbeans/modules/jackpot30/impl/hints/HintsInvokerTest.java

         test2Hint.put("testPattern2", test2Hint.get("testPattern1"));
     }
 
-//    @TriggerPattern(value="$1.toURL()", constraints=@Constraint(variable="$1", type="java.io.File"))
-//    public static ErrorDescription hintPattern1(HintContext ctx) {
-//        return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), "Use of java.io.File.toURL()");
-//    }
-//
-//    @TriggerPattern(value="$1.toURL()", constraints=@Constraint(variable="$1", type="java.io.File"))
-//    public static ErrorDescription hintPattern2(HintContext ctx) {
-//        return ErrorDescriptionFactory.forName(ctx, ctx.getPath(), "Use of java.io.File.toURL()");
-//    }
-
     @Override
     protected List<ErrorDescription> computeErrors(CompilationInfo info, TreePath path) {
         HintDescription hd = test2Hint.get(getName());