Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,007 for SuppressWarnings (0.14 sec)

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

       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
      // enum singleton pattern
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.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 long[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

         * @param tc the CIFS context to use for the connection
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         */
        @SuppressWarnings("resource")
        public SmbRandomAccessFile(final String url, final String mode, final int sharing, final CIFSContext tc)
                throws SmbException, MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      @SuppressWarnings("ArrayAsKeyOfSetOrMap")
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return createDeleteRequest(esEntity);
            });
        }
    
        protected <BUILDER> int[] delegateBatchRequest(final List<? extends Entity> entityList, Function<EsAbstractEntity, BUILDER> call) {
            @SuppressWarnings("unchecked")
            final BulkList<? extends Entity, BUILDER> bulkList = (BulkList<? extends Entity, BUILDER>) entityList;
            final RequestOptionCall<BUILDER> builderEntityCall = bulkList.getEntityCall();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("InlineMeInliner") // many tests of deprecated methods
    @NullUnmarked
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
      public static TestSuite suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @param str
         *            The string to convert.
         * @param locale
         *            The locale.
         * @return The converted {@link Date}.
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top