INNER CODE UNIT · Java

validateInput

scalar-labs/scalardb · buildSrc/src/main/java/com/scalar/db/JdkConfigurationPlugin.java:132

  private void validateInput() {
    if (javaVersion == null && javaVendor != null) {
      throw new IllegalArgumentException(
          "Setting the '"
              + JAVA_VENDOR_PROP
              + "' Gradle project property also requires setting the '"
              + JAVA_VERSION_PROP
              + "' property.");
    }
    if (integrationTestJavaVersion == null && integrationTestJavaVendor != null) {
      throw new IllegalArgumentException(
          "Setting the '"
              + INTEGRATION_TEST_JAVA_RUNTIME_VENDOR_PROP
              + "' Gradle project property also requires setting the '"
              + INTEGRATION_TEST_JAVA_RUNTIME_VERSION_PROP
              + "' property.");
    }
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…