private boolean shouldApplyForSnapshotDependencyErrors()

in src/main/java/jetbrains/buildServer/investigationsAutoAssigner/heuristics/DefaultUserHeuristic.java [69:79]


  private boolean shouldApplyForSnapshotDependencyErrors(SBuild build) {
    if (build.isCompositeBuild()) {
      return true;
    }
    SBuildType buildType = build.getBuildType();
    boolean ignoreSnapshotDependencyErrors =
      buildType instanceof BuildTypeEx
      ? ((BuildTypeEx)buildType).getBooleanInternalParameterOrTrue(Constants.IGNORE_SNAPSHOT_DEPENDENCY_ERRORS_IN_DEFAULT_HEURISTIC)
      : TeamCityProperties.getBooleanOrTrue(Constants.IGNORE_SNAPSHOT_DEPENDENCY_ERRORS_IN_DEFAULT_HEURISTIC);
    return !ignoreSnapshotDependencyErrors;
  }