Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2261 - 2270 of 3,202 for throwIt (0.08 sec)

  1. android/guava/src/com/google/common/base/internal/Finalizer.java

     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
     *   new MySubtypeTests().testAllDeclarations();
     * }
     * }
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      private transient int totalSize;
    
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @throws IllegalArgumentException if {@code map} is not empty
       */
      protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) {
        checkArgument(map.isEmpty());
        this.map = map;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/Goal.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    /**
     * The mvnenc tool goal.
     */
    public interface Goal {
        int execute(EncryptContext context) throws Exception;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 13 14:14:56 UTC 2024
    - 973 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

            to.cachedSubject = from.cachedSubject;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.Kerb5Authenticator#refresh()
         */
        @Override
        public void refresh() throws CIFSException {
            log.debug("Refreshing JAAS credentials");
            this.cachedSubject = null;
        }
    
        @Override
        public synchronized Subject getSubject() {
            if (this.cachedSubject != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            if (Objects.requireNonNull(groupId, "groupId cannot be null").isEmpty()) {
                throw new IllegalArgumentException("groupId cannot be empty");
            }
            if (Objects.requireNonNull(artifactId, "artifactId cannot be null").isEmpty()) {
                throw new IllegalArgumentException("artifactId cannot be empty");
            }
    
            if (model != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

         * @param badWord Bad word
         */
        public void add(final String badWord) {
            final String validationError = getValidationError(badWord);
            if (validationError != null) {
                throw new IllegalArgumentException("Validation error: " + validationError);
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Adding bad word: index={}, word={}", arraySettings.arraySettingsIndexName, badWord);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                        }
                    }
                    if (field == null) {
                        throw new NoSuchFieldException(fieldName);
                    }
                    field.setAccessible(true);
                    field.set(this, value);
                } catch (Exception e) {
                    throw new RuntimeException("Failed to set field " + fieldName, e);
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

           * learn that some other exception besides IllegalArgumentException is common, then we could
           * add another special case to throw an instance of it, too.
           */
          throw e;
        }
      }
    
      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
        Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = new HashMap<>();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = new HashMap<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top