- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 74 for redundancy (0.08 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java
} String runCommand(String... args) { final ByteArrayOutputStream stdout = new ByteArrayOutputStream(); execOperations.exec(spec -> { // The redundant cast is to silence a compiler warning. spec.setCommandLine((Object[]) args); spec.setStandardOutput(stdout); }); return stdout.toString(StandardCharsets.UTF_8); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java
static final ImmutableList<Object> EMPTY = new RegularImmutableList<Object>(emptyList()); private final List<E> delegate; RegularImmutableList(List<E> delegate) { // TODO(cpovirk): avoid redundant unmodifiableList wrapping this.delegate = unmodifiableList(delegate); } @Override List<E> delegateList() { return delegate; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
} } private Collection<WeakMojoExecutionListener> getProvidedListeners() { // the same instance can be provided multiple times under different Key's // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>(); for (Object provided : getScopeState().provided()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us. However, the Java code we have is not fully annotated, which causes several consequences: * IDE warnings can be misleading * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers * Missing null checks may cause NullPointerException * Bridging with Kotlin code is polluted with platform types
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java
context.info("-d, --directory <path> Directory to use as starting point for POM discovery"); context.info("-i, --infer Remove redundant information that can be inferred by Maven"); context.info(" --model Fix Maven 4 compatibility issues in POM files"); context.info(" --plugins Upgrade plugins known to fail with Maven 4");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* If a plugin version is defined via a property, the property value is updated instead. * * <h3>Inference Optimizations (Optional)</h3> * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information: * * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4> * <ul> * <li><strong>Child GroupId Removal</strong>: Removes child {@code <groupId>} when it matches parent groupId</li>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java
* * @return an {@link Optional} containing the directory path, or empty if not specified */ @Nonnull Optional<String> directory(); /** * Should use inference when upgrading (remove redundant information). * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ @Nonnull Optional<Boolean> infer(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.6K bytes - Click Count (0) -
cmd/metacache-bucket.go
b.cachesRoot[best.root] = append(b.cachesRoot[best.root], best.id) b.updated = true b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket) return best } // cleanup removes redundant and outdated entries. func (b *bucketMetacache) cleanup() { // Entries to remove. remove := make(map[string]struct{}) // Test on a copy // cleanup is the only one deleting caches.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
import org.jspecify.annotations.NullUnmarked; /** * Test suite covering {@link Ints#asList(int[])}. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("cast") // redundant casts are intentional and harmless @NullUnmarked @AndroidIncompatible // test-suite builders public class IntArrayAsListTest extends TestCase { private static List<Integer> asList(Integer[] values) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0)