- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NPE (0.03 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy
} def "Adding zero JVM arguments is a no-op"() { expect: loadBuildEnvironment { builder -> builder.addJvmArguments() } } def "Adding null JVM argument throws NPE"() { when: loadBuildEnvironment { builder -> builder.addJvmArguments(null as String) } then: thrown(NullPointerException) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null.");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 21:17:24 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionList.java
* documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null.");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 21:17:24 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy
//these meta tests mess with the daemon log: do not interfere with other tests when running in parallel toolingApi.requireIsolatedDaemons() } def iteration = 0 def "does not retry if NPE is thrown in daemon registry in >=1.8"() { given: iteration++ when: throwWhen(new GradleConnectionException("Test Exception", new NullPointerException()), iteration == 1) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5.5K bytes - Viewed (0)