Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 299 for getClassB (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ThreadFactory factory = MoreExecutors.platformThreadFactory();
        assertThat(factory).isNotNull();
        // Executors#defaultThreadFactory() may return a new instance each time.
        assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass());
      }
    
      public void testThreadRenaming() {
        Executor renamingExecutor =
            renamingDecorator(newDirectExecutorService(), Suppliers.ofInstance("FooBar"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         */
        protected static Date toDate(final Object src, final String pattern, final Locale locale) {
            if (src == null) {
                return null;
            }
            if (src.getClass() == Date.class) {
                return (Date) src;
            }
            if (src instanceof Date) {
                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         */
        protected static Date toDate(final Object src, final String pattern, final Locale locale) {
            if (src == null) {
                return null;
            }
            if (src.getClass() == Date.class) {
                return (Date) src;
            }
            if (src instanceof Date) {
                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.LOGIN_FAILURE.name());
            credential.ifPresent(c -> {
                valueMap.put("class", c.getClass().getSimpleName());
                if (c instanceof final FessCredential fessCredential) {
                    valueMap.put("user", fessCredential.getUserId());
                }
            });
            log(valueMap);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // Verify the top of the stack trace is from this test class
            StackTraceElement topElement = stackTrace[0];
            assertEquals(this.getClass().getName(), topElement.getClassName());
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception level3 = new RuntimeException("Level 3 error");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        /**
         * Deletes a role item.
         *
         * @param form the edit form containing the ID of the item to delete
         * @return HTML response redirecting to the list page after deletion
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            SsoProcessException exception2 = new SsoProcessException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "SSO configuration error";
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

                logger.warn("Failed to change password for {}", username, e);
                throwValidationError(messages -> messages.addErrorsFailedToChangePassword(GLOBAL), toIndexPage);
            }
            return redirect(getClass());
        }
    
        private void validatePasswordForm(final ProfileForm form, final VaErrorHook validationErrorLambda) {
            validate(form, messages -> {}, validationErrorLambda);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top