@Test public void testShouldNotProcessBecauseNullParent() { assertTrue(GitHub.shouldNotProcessDockerfilesInRepo(null, null)); }
public static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent) { if (parent == null || !pathToDockerfilesInParentRepo.containsKey(parent.getFullName()) || parent.isArchived()) { if (parent != null && parent.isArchived()) { log.info("Skipping archived repo: {}", parent.getFullName()); } return true; } return false; }
GitHub { public static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent) { if (parent == null || !pathToDockerfilesInParentRepo.containsKey(parent.getFullName()) || parent.isArchived()) { if (parent != null && parent.isArchived()) { log.info("Skipping archived repo: {}", parent.getFullName()); } return true; } return false; } }
GitHub { public static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent) { if (parent == null || !pathToDockerfilesInParentRepo.containsKey(parent.getFullName()) || parent.isArchived()) { if (parent != null && parent.isArchived()) { log.info("Skipping archived repo: {}", parent.getFullName()); } return true; } return false; }  }
GitHub { public static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent) { if (parent == null || !pathToDockerfilesInParentRepo.containsKey(parent.getFullName()) || parent.isArchived()) { if (parent != null && parent.isArchived()) { log.info("Skipping archived repo: {}", parent.getFullName()); } return true; } return false; }  static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent); }
GitHub { public static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent) { if (parent == null || !pathToDockerfilesInParentRepo.containsKey(parent.getFullName()) || parent.isArchived()) { if (parent != null && parent.isArchived()) { log.info("Skipping archived repo: {}", parent.getFullName()); } return true; } return false; }  static boolean shouldNotProcessDockerfilesInRepo(Multimap<String, String> pathToDockerfilesInParentRepo, GHRepository parent);  }