- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for JdkObsolete (0.2 seconds)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
// DISCUSS "EnumOrdinal", // This violation is ubiquitous, though most are benign. "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals() "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason // NEVER "AssignmentExpression", // Not using it is more a matter of taste.Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:47:14 GMT 2026 - 8.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* syntax</a>. */ @SuppressWarnings({ "NonApiType", // acts as a direct substitute for a constructor call "JdkObsolete", // We recommend against this method but need to keep it for compatibility. }) public static <E extends @Nullable Object> LinkedList<E> newLinkedList() { return new LinkedList<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
@Override /* * We need a Queue that implements equals() for the equality tests we perform after * reserializing the multimap. */ @SuppressWarnings("JdkObsolete") public Queue<Integer> getImpl() { return new LinkedList<>(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
* syntax</a>. */ @SuppressWarnings({ "NonApiType", // acts as a direct substitute for a constructor call "JdkObsolete", // We recommend against this method but need to keep it for compatibility. }) public static <E extends @Nullable Object> LinkedList<E> newLinkedList() { return new LinkedList<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints)); return vector.elements(); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints)); return vector.elements(); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0)