Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getClass (0.09 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          void testGetSupertype_typeVariableWithMultipleBounds() {
        assertEquals(
            Number.class, new TypeToken<T>(getClass()) {}.getSupertype(Number.class).getType());
        assertEquals(
            new TypeToken<Iterable<A>>() {},
            new TypeToken<T>(getClass()) {}.getSupertype(Iterable.class));
      }
    
      public void testGetSupertype_withoutTypeVariable() {
        ParameterizedType expectedType =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          void testGetSupertype_typeVariableWithMultipleBounds() {
        assertEquals(
            Number.class, new TypeToken<T>(getClass()) {}.getSupertype(Number.class).getType());
        assertEquals(
            new TypeToken<Iterable<A>>() {},
            new TypeToken<T>(getClass()) {}.getSupertype(Iterable.class));
      }
    
      public void testGetSupertype_withoutTypeVariable() {
        ParameterizedType expectedType =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            Throwable target = t;
            if (target.getCause() == null) {
                return target.getClass().getSimpleName() + "[" + target.getMessage() + "]";
            }
            final StringBuilder sb = new StringBuilder();
            while (target != null) {
                sb.append(target.getClass().getSimpleName());
                if (target.getMessage() != null) {
                    sb.append("[");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @see jcifs.SmbTransport#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbTransport> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        /**
         *
         * @param tf
         * @return a session for the context
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    //
                }
            }
    
            slf4jConfiguration.activate();
    
            plexusLoggerManager = new Slf4jLoggerManager();
            slf4jLogger = slf4jLoggerFactory.getLogger(this.getClass().getName());
    
            if (commandLine.hasOption(CLIManager.FAIL_ON_SEVERITY)) {
                String logLevelThreshold = commandLine.getOptionValue(CLIManager.FAIL_ON_SEVERITY);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    // NOTE: There's java.nio.charset.MalformedInputException and sun.io.MalformedInputException
                    if (e.getClass().getName().endsWith("MalformedInputException")) {
                        msg = "Some input bytes do not match the file encoding.";
                    } else {
                        msg = e.getClass().getSimpleName();
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                }
            } else {
                saveError(messages -> messages.addErrorsUnknownVersionForUpgrade(GLOBAL));
            }
            return redirect(getClass());
        }
    
        private void upgradeFrom13_0() {
            UpgradeUtil.addData(searchEngineClient, ".fess_config.scheduled_job", "label_updater",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @see jcifs.SmbSession#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbSession> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        /**
         * @return session increased usage count
         */
        public SmbSessionImpl acquire () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        protected volatile boolean isBind = false;
    
        protected FessConfig fessConfig;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
        }
    
        protected Hashtable<String, String> createEnvironment(final String initialContextFactory, final String securityAuthentication,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
        }
    
        @PostConstruct
        public void open() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isNotBlank(fessConfig.getIndexDictionaryPrefix())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top