Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 175 for getMethod (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                    legacySupport.getRepositorySession(), "Maven", ConfigurationProperties.USER_AGENT));
                    try {
                        Method setHttpHeaders = wagon.getClass().getMethod("setHttpHeaders", Properties.class);
                        setHttpHeaders.invoke(wagon, headers);
                    } catch (NoSuchMethodException e) {
                        // normal for non-http wagons
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
        } catch (NoSuchMethodException shouldBeImpossible) {
          // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it.
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

                final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
                newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
            } catch (final Throwable t) {
                // ignore
                // t.printStackTrace();
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            }
        }
    
        protected boolean acceptHttpMethod(final HttpServletRequest request, final String... methods) {
            final String method = request.getMethod();
            for (final String m : methods) {
                if (m.equals(method)) {
                    return true;
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
        } catch (NoSuchMethodException shouldBeImpossible) {
          // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it.
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

            private RequestDataContext() {
                data = new RequestData();
            }
    
            public RequestDataContext method(final String method) {
                if (Constants.GET_METHOD.equalsIgnoreCase(method)) {
                    return get();
                }
                if (Constants.HEAD_METHOD.equalsIgnoreCase(method)) {
                    return head();
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        }
    
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
            final ResponseData responseData = new ResponseData();
            try {
                responseData.setMethod(Constants.GET_METHOD);
                final String filePath = preprocessUri(uri);
                responseData.setUrl(filePath);
    
                File file = null;
                try {
                    file = new File(new URI(filePath));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top