@Test public void testIsNotMinified() throws Exception { JavaScriptCompilerMojo mojo = new JavaScriptCompilerMojo(); mojo.googleClosureMinifierSuffix = "-minified"; File file = new File("foo.js"); assertThat(mojo.isNotMinified(file)).isTrue(); file = new File("foo-min.js"); assertThat(mojo.isNotMinified(file)).isFalse(); file = new File("foo.min.js"); assertThat(mojo.isNotMinified(file)).isFalse(); file = new File("foo-minified.js"); assertThat(mojo.isNotMinified(file)).isFalse(); }
public boolean isNotMinified(File file) { return !file.getName().endsWith("min.js") && !file.getName().endsWith(googleClosureMinifierSuffix + ".js"); }
JavaScriptCompilerMojo extends AbstractWisdomWatcherMojo implements Constants { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.js") && !file.getName().endsWith(googleClosureMinifierSuffix + ".js"); } }
JavaScriptCompilerMojo extends AbstractWisdomWatcherMojo implements Constants { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.js") && !file.getName().endsWith(googleClosureMinifierSuffix + ".js"); }  }
JavaScriptCompilerMojo extends AbstractWisdomWatcherMojo implements Constants { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.js") && !file.getName().endsWith(googleClosureMinifierSuffix + ".js"); }  @Override void execute(); @Override boolean accept(File file); static boolean isNotInLibs(File file); boolean isNotMinified(File file); File getMinifiedFile(File file); @Override boolean fileCreated(File file); @Override boolean fileUpdated(File file); @Override boolean fileDeleted(File file); }
JavaScriptCompilerMojo extends AbstractWisdomWatcherMojo implements Constants { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.js") && !file.getName().endsWith(googleClosureMinifierSuffix + ".js"); }  @Override void execute(); @Override boolean accept(File file); static boolean isNotInLibs(File file); boolean isNotMinified(File file); File getMinifiedFile(File file); @Override boolean fileCreated(File file); @Override boolean fileUpdated(File file); @Override boolean fileDeleted(File file); @Parameter(defaultValue = "WHITESPACE_ONLY")
    public CompilationLevel googleClosureCompilationLevel; @Parameter(defaultValue = "false")
    public boolean googleClosurePrettyPrint; @Parameter(defaultValue = "${skipGoogleClosure}")
    public boolean skipGoogleClosure; @Parameter(defaultValue = "-min")
    public String googleClosureMinifierSuffix; @Parameter(defaultValue = "// -- Input %num% -- //")
    public String googleClosureInputDelimiter; @Parameter(defaultValue = "true")
    public boolean googleClosureMap; static final String COMPILE_TITLE; }