Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.selesse.jxlint.linter;
 import java.util.List;

A factory/singleton hybrid. Used for accessing Linters as global variables. This is particularly useful when we're performing unit tests and want to get the results of a lint validation without passing around and returning tons of objects.
public class LinterFactory {
    private static Linter instance;

    public static Linter createNewLinter(List<LintRulerules) {
         = new Linter(rules);
        return ;
    public static Linter getInstance() {
        return ;
New to GrepCode? Check out our FAQ X