Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 169 for setMethod (0.4 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
        for (int i = 0; i < methods.length; i++) {
          try {
            methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes());
          } catch (Exception e) {
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        }
        return methods;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        }
    
        public void test_static_method_signature() {
            // Verify method signature is correct
            try {
                java.lang.reflect.Method method = SystemUtil.class.getMethod("getSearchEngineHttpAddress");
    
                // Check return type
                assertEquals("Return type should be String", String.class, method.getReturnType());
    
                // Check that it's static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

            // Mock HTTP method for request - this is required for HttpServlet.service()
            lenient().when(request.getMethod()).thenReturn("GET");
    
            // Setup CIFSContext configuration mock
            lenient().when(cifsContext.getConfig()).thenReturn(configuration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        EventBus eventBus =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public int getIntHeader(String name) {
                return -1;
            }
    
            @Override
            public String getMethod() {
                return "GET";
            }
    
            @Override
            public String getPathInfo() {
                return null;
            }
    
            @Override
            public String getPathTranslated() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

         */
        protected boolean containsAuthenticationData(final HttpServletRequest request) {
            if (logger.isDebugEnabled()) {
                logger.debug("HTTP Method: {}", request.getMethod());
            }
            if (!"POST".equalsIgnoreCase(request.getMethod())) {
                return false;
            }
            final Map<String, String[]> params = request.getParameterMap();
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  8. 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();
            }
        }
    
        /**
         * Checks if the string is empty or null.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
    
                @Override
                public int getIntHeader(String name) {
                    return 0;
                }
    
                @Override
                public String getMethod() {
                    return null;
                }
    
                @Override
                public String getPathInfo() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top