@Test void metastorePathsDepthIncorrect() { assertThatExceptionOfType(IllegalStateException.class) .isThrownBy(() -> ConsistencyCheck.checkMetastorePaths( Collections.singleton(new Path("/db/snapshot/partition")), 4)); }
static void checkMetastorePaths(Set<Path> paths, int globDepth) { for (Path path : paths) { checkMetastorePath(path, globDepth); } }
ConsistencyCheck { static void checkMetastorePaths(Set<Path> paths, int globDepth) { for (Path path : paths) { checkMetastorePath(path, globDepth); } } }
ConsistencyCheck { static void checkMetastorePaths(Set<Path> paths, int globDepth) { for (Path path : paths) { checkMetastorePath(path, globDepth); } } private  ConsistencyCheck(); }
ConsistencyCheck { static void checkMetastorePaths(Set<Path> paths, int globDepth) { for (Path path : paths) { checkMetastorePath(path, globDepth); } } private  ConsistencyCheck();  }
ConsistencyCheck { static void checkMetastorePaths(Set<Path> paths, int globDepth) { for (Path path : paths) { checkMetastorePath(path, globDepth); } } private  ConsistencyCheck();   }