@Test public void checkGlobBuiltCorrectly() { TempFileWarningLogger warner = new TempFileWarningLogger( log, "MyPrefix*", new String[] { "temp", "remove-me", "~notrequired" }, path); assertEquals("MyPrefix*.{temp,remove-me,~notrequired}", warner.getGlob()); }
protected String getGlob() { return glob; }
TempFileWarningLogger { protected String getGlob() { return glob; } }
TempFileWarningLogger { protected String getGlob() { return glob; } TempFileWarningLogger(Logger log, String prefix, String[] extensions, Path dir); }
TempFileWarningLogger { protected String getGlob() { return glob; } TempFileWarningLogger(Logger log, String prefix, String[] extensions, Path dir); @SuppressWarnings("RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE") boolean checkFiles(); @SuppressWarnings("RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE") void removeFiles(); }
TempFileWarningLogger { protected String getGlob() { return glob; } TempFileWarningLogger(Logger log, String prefix, String[] extensions, Path dir); @SuppressWarnings("RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE") boolean checkFiles(); @SuppressWarnings("RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE") void removeFiles();  }