Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,438 for SuppressWarnings (0.11 seconds)

  1. guava/src/com/google/common/base/Defaults.java

       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings({
        "unchecked",
        "BooleanLiteral" // `(T) false` would produce an error
      })
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface Language extends ExtensibleEnum {
    
        /**
         * The "none" language. It is not versioned, family is same to itself, and compatible with itself only.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 07 15:09:52 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
     *       things for people integrating them in TCK test suites.
     * </ul>
     */
    @SuppressWarnings({
      // We call threadUnexpectedException, which does the right thing for errors.
      "AssertionFailureIgnored",
      // We're following the upstream naming to reduce diffs.
      "IdentifierName",
      "ConstantCaseForConstants",
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListAddAllTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedAllPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionSpliteratorTester<E> extends AbstractCollectionTester<E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapContainsKeyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 26 21:06:36 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class SortedSetNavigationTester<E extends @Nullable Object> extends AbstractSetTester<E> {
    
      private SortedSet<E> sortedSet;
      private List<E> values;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

        private final TypeRegistry typeRegistry;
    
        private final VersionScheme versionScheme;
    
        private final Map<String, RepositorySystemSessionExtender> sessionExtenders;
    
        @SuppressWarnings("checkstyle:ParameterNumber")
        @Inject
        DefaultRepositorySystemSessionFactory(
                RepositorySystem repoSystem,
                EventSpyDispatcher eventSpyDispatcher,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptContext.java

    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.reader.LineReader;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    
    @SuppressWarnings("VisibilityModifier")
    public class EncryptContext extends LookupContext {
        public EncryptContext(InvokerRequest invokerRequest, EncryptOptions encryptOptions) {
            super(invokerRequest, true, encryptOptions);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top