- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for requireNonNull (0.26 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
Objects.requireNonNull(remoteRepositoryManager, "remoteRepositoryManager cannot be null"); this.versionResolver = Objects.requireNonNull(versionResolver, "versionResolver cannot be null"); this.versionRangeResolver = Objects.requireNonNull(versionRangeResolver, "versionRangeResolver cannot be null"); this.artifactResolver = Objects.requireNonNull(artifactResolver, "artifactResolver cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1])); return new RegularImmutableMap<K, V>(null, alternatingKeysAndValues, 1); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
MessageBuilderFactory messageBuilderFactory) { this.command = requireNonNull(command, "command"); this.commandName = requireNonNull(commandName, "commandName"); this.args = requireNonNull(args, "args"); this.logger = requireNonNull(logger, "logger"); this.messageBuilderFactory = requireNonNull(messageBuilderFactory, "messageBuilderFactory"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 04 12:23:10 UTC 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
submittingTaskQueue.nextTask = task; // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). submittingTaskQueue.nextExecutor = requireNonNull(delegate); delegate = null; } else { // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). Executor localDelegate = requireNonNull(delegate); delegate = null;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
// requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
// requireNonNull is safe (under the conditions listed in the comment in the branch above). KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(node.key)); keyList.count--; if (node.previousSibling == null) { // requireNonNull is safe because we checked that not *both* siblings were null. keyList.head = requireNonNull(node.nextSibling); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
submittingTaskQueue.nextTask = task; // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). submittingTaskQueue.nextExecutor = requireNonNull(delegate); delegate = null; } else { // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). Executor localDelegate = requireNonNull(delegate); delegate = null;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
// requireNonNull is safe because we use indexes that were populated by the constructor. V value = requireNonNull(values[rowIndex][columnIndex]); return cellOf(rowKey, columnKey, value); } @Override V getValue(int index) { // requireNonNull is safe because we use indexes that were populated by the constructor.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
requireNonNull(parserRequest); LocalContext context = new LocalContext(parserRequest); // the basics context.cwd = requireNonNull(getCwd(context)); context.installationDirectory = requireNonNull(getInstallationDirectory(context)); context.userHomeDirectory = requireNonNull(getUserHomeDirectory(context)); // top/root
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
return policy == Policies.DISABLED ? new ReentrantLock(fair) // requireNonNull is safe because createNodes inserts an entry for every E. // (If the caller passes `null` for the `rank` parameter, this will throw, but that's OK.) : new CycleDetectingReentrantLock(requireNonNull(lockGraphNodes.get(rank)), fair); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0)