Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,450 for SuppressWarnings (0.66 seconds)

  1. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            public Entry(final int referent, final Object obj) {
                this.referent = referent;
                this.obj = obj;
            }
    
            final int referent;
    
            @SuppressWarnings("unused")
            private final Object obj;
        }
    
        /**
         * The underlying byte buffer containing the NDR data.
         */
        public byte[] buf;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SID.java

                }
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.SID#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T> T unwrap(final Class<T> t) {
            if (t.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/NbtAddress.java

            this.macAddress = macAddress;
            this.isDataFromNodeStatus = true;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends Address> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test ComparableVersion.
     */
    @SuppressWarnings("unchecked")
    class ComparableVersionTest {
        private ComparableVersion newComparable(String version) {
            ComparableVersion ret = new ComparableVersion(version);
            String canonical = ret.getCanonical();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
      @SuppressWarnings("StaticImportPreferred")
      public static int constrainToRange(int value, int min, int max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                final Map<String, Object> defaultSettings = defaultSettings();
                initialSettings.forEach((key, value) -> {
                    if (value instanceof Collection) {
                        @SuppressWarnings("unchecked")
                        final Collection<Object> collection = (Collection<Object>) value;
                        collection.forEach(element -> arraySettings.add(new Tuple<>(key, element)));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            protected org.apache.commons.cli.Options options;
            protected final LinkedHashSet<Option> usedDeprecatedOptions = new LinkedHashSet<>();
    
            @SuppressWarnings("checkstyle:MethodLength")
            protected CLIManager() {
                options = new org.apache.commons.cli.Options();
                prepareOptions(options);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

                    finalUrl = url;
                }
    
                HttpURLConnection connection = null;
                try {
                    logger.fine(() -> ">>> " + method + " " + finalUrl);
                    @SuppressWarnings("deprecation")
                    final URL u = new URL(finalUrl);
                    connection = open(u);
                    connection.setRequestMethod(method.toString());
                    if (connectTimeout >= 0) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/CacheBuilderSpec.java

     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top