- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,105 for SuppressWarnings (0.08 sec)
-
guava/src/com/google/common/primitives/Booleans.java
INSTANCE; @Override public int compare(boolean[] left, boolean[] right) { // do not static import Math.min due to https://bugs.openjdk.org/browse/JDK-8357219 @SuppressWarnings("StaticImportPreferred") int minLength = Math.min(left.length, right.length); for (int i = 0; i < minLength; i++) { int result = Boolean.compare(left[i], right[i]); if (result != 0) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} } // Instance stuff here // The array is never mutated after storing in this field and the construction strategies ensure // it doesn't escape this class @SuppressWarnings("Immutable") private final int[] array; /* * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(map.isEmpty()).isTrue(); } assertCollectionSize(map.keySet(), size); assertCollectionSize(map.entrySet(), size); assertCollectionSize(map.values(), size); } @SuppressWarnings("IterablesSizeOfCollection") // we are testing our iterator implementation private void assertCollectionSize(Collection<?> collection, int size) { assertThat(collection.size()).isEqualTo(size); if (size > 0) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
proxyInfo.setUserName(repository.getProxy().getUserName()); proxyInfo.setPassword(repository.getProxy().getPassword()); return proxyInfo; } @SuppressWarnings("checkstyle:methodlength") @Override public void getRemoteFile( ArtifactRepository repository, File destination, String remotePath,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
private final ExtensionDescriptorBuilder extensionDescriptorBuilder = new ExtensionDescriptorBuilder(); private final PluginDescriptorBuilder builder = new PluginDescriptorBuilder(); @Inject @SuppressWarnings("checkstyle:ParameterNumber") public DefaultMavenPluginManager( PlexusContainer container, ClassRealmManager classRealmManager, PluginDescriptorCache pluginDescriptorCache,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 16:35:21 UTC 2025 - 46.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
public static final String ENC = "enc"; public static final String YJP = "yjp"; protected Options options; protected final Set<Option> usedDeprecatedOptions = new LinkedHashSet<>(); @SuppressWarnings("checkstyle:MethodLength") public CLIManager() { options = new Options(); options.addOption(Option.builder(Character.toString(HELP)) .longOpt("help")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Aug 06 04:56:48 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} }; } private static final String KEY = "puppies"; ConcurrentMap<String, AtomicInteger> backingMap; ConcurrentHashMultiset<String> multiset; @SuppressWarnings("unchecked") @Override protected void setUp() { backingMap = mock(ConcurrentMap.class); when(backingMap.isEmpty()).thenReturn(true); multiset = ConcurrentHashMultiset.create(backingMap);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
LoadingCache<String, String> cache = builder.build( new CacheLoader<String, String>() { @Override @SuppressWarnings("CacheLoaderNull") // test of broken user implementation public String load(String key) throws InterruptedException { callCount.incrementAndGet(); startSignal.await();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
final Table<? extends R, ? extends C, ? extends V> delegate; UnmodifiableTable(Table<? extends R, ? extends C, ? extends V> delegate) { this.delegate = checkNotNull(delegate); } @SuppressWarnings("unchecked") // safe, covariant cast @Override protected Table<R, C, V> delegate() { return (Table<R, C, V>) delegate; } @Override public Set<Cell<R, C, V>> cellSet() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
// overlap checkInvalidRange("[1.1,1.3),(1.0,1.2]"); // ordering checkInvalidRange("(1.1,1.2],[1.0,1.1)"); } @Test @SuppressWarnings("checkstyle:MethodLength") void testIntersections() throws InvalidVersionSpecificationException { VersionRange range1 = VersionRange.createFromVersionSpec("1.0");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0)