Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1321 - 1330 of 1,450 for SuppressWarnings (0.83 seconds)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals("test", updated.get(FieldNames.TEXT));
            assertEquals(25L, updated.get(FieldNames.QUERY_FREQ)); // 20 + 5
            assertEquals(20L, updated.get(FieldNames.DOC_FREQ)); // 10 + 10
    
            @SuppressWarnings("unchecked")
            List<String> tags = (List<String>) updated.get(FieldNames.TAGS);
            assertTrue(tags.contains("existing"));
        }
    
        @Test
        public void testConcatValues() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        /**
         * Gets a component by its class type.
         * @param <T> The type of the component.
         * @param clazz The class of the component to retrieve.
         * @return The component instance.
         */
        @SuppressWarnings("unchecked")
        public static <T> T getComponent(final Class<T> clazz) {
            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import java.util.stream.Collectors;
    
    /**
     * Class InputLocation.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public final class InputLocation implements java.io.Serializable, Cloneable, InputLocationTracker {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          assertThat(map.isEmpty()).isTrue();
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
      @SuppressWarnings("IterablesSizeOfCollection") // we are testing our iterator implementation
      private void assertCollectionSize(Collection<?> collection, int size) {
        assertThat(collection.size()).isEqualTo(size);
        if (size > 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
            @SuppressWarnings("unchecked")
            Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE);
            if (resultDocIdsCache == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Strings.java

            builder.append(prefix);
            builder.append(lenientToString(args[i]));
            prefix = ", ";
          }
          builder.append(']');
        }
    
        return builder.toString();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static String lenientToString(@Nullable Object o) {
        if (o == null) {
          return "null";
        }
        try {
          return o.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param url the SMB URL to read from
         * @param tc
         *            context to use
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         */
        @SuppressWarnings("resource")
        public SmbFileInputStream(final String url, final CIFSContext tc) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                        mavenHome,
                        userHome,
                        stdIn,
                        stdOut,
                        stdErr,
                        embedded);
            }
    
            @SuppressWarnings("ParameterNumber")
            private static class ParserRequestImpl implements ParserRequest {
                private final String command;
                private final String commandName;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        public List<MojoDescriptor> getMojos() {
            return (List) getComponents();
        }
    
        public void addMojo(MojoDescriptor mojoDescriptor) throws DuplicateMojoDescriptorException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&lt;" etc.
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top