Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 1,450 for SuppressWarnings (0.14 seconds)

  1. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * Converts a string to a {@link Date}.
         *
         * @param str the string
         * @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 : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // type.
        checkNotNull(enumClass);
        checkNotNull(policy);
        @SuppressWarnings("unchecked")
        Map<E, LockGraphNode> lockGraphNodes = (Map<E, LockGraphNode>) getOrCreateNodes(enumClass);
        return new WithExplicitOrdering<>(policy, lockGraphNodes);
      }
    
      @SuppressWarnings("unchecked")
      private static <E extends Enum<E>> Map<? extends E, LockGraphNode> getOrCreateNodes(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          waiter.interrupt();
          fail("awaitTermination failed to trigger after shutdown()");
        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  4. 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))) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.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))) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @return a list of strings representing the given object
         * @throws IllegalArgumentException if the object is not a string or a list
         */
        @SuppressWarnings("unchecked")
        public static List<String> getAsList(final Object value) {
            if (value == null) {
                return new ArrayList<>();
            }
    
            if (value instanceof String strValue) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.java

     * This class provides DCE/RPC interface for SAM database operations including
     * user account management, group operations, and domain security functions.
     */
    @SuppressWarnings("all")
    public class samr {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private samr() {
            // Utility class
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

    /**
     * Tests relating to cache expiration: make sure entries expire at the right times, make sure
     * expired entries don't show up, etc.
     *
     * @author mike nonemacher
     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    @NullUnmarked
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
      private static final int VALUE_PREFIX = 12345;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  9. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. 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,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top