Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 415 for getClass (0.06 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            }
    
            final Supplier<String> stacktraceString = () -> {
                final StringBuilder sb = new StringBuilder();
                if (StringUtil.isBlank(cause.getMessage())) {
                    sb.append(cause.getClass().getName());
                } else {
                    sb.append(cause.getMessage());
                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

            .addEqualityGroup(Subscriber.create(bus, "foo", concat))
            .testEquals();
      }
    
      private Method getTestSubscriberMethod(String name) {
        try {
          return getClass().getDeclaredMethod(name, Object.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        Reader reader = new StringReader(srcString);
    
        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            PrintWriter pw = new PrintWriter(sw);
            e.printStackTrace(pw);
            String stackTrace = sw.toString();
    
            String fullMessage = message + "\n" + "Exception: "
                    + e.getClass().getName() + "\n" + "Message: "
                    + e.getMessage() + "\n" + "Stack trace:\n"
                    + stackTrace;
    
            processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, fullMessage);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

     * Tests {@link PluginDescriptorBuilder}.
     *
     */
    class PluginDescriptorBuilderTest {
    
        private PluginDescriptor build(String resource) throws IOException, PlexusConfigurationException {
            try (InputStream is = getClass().getResourceAsStream(resource)) {
                return new PluginDescriptorBuilder().build(is, null);
            }
        }
    
        @Test
        void testBuildReader() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                  "xml")
              .transform("com.google.common."::concat)
              .toSet();
    
      public void testClassesHaveOverrides() throws Exception {
        for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) {
          if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
            continue;
          }
          if (info.getName().endsWith("GwtSerializationDependencies")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
        private final String name;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

    @Deprecated(since = "4.0.0")
    class PluginsMetadataGenerator implements MetadataGenerator {
        private static final String PLUGIN_DESCRIPTOR_LOCATION = "META-INF/maven/plugin.xml";
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final Map<Object, PluginsMetadata> processedPlugins;
    
        private final Date timestamp;
    
        PluginsMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        runLatch.await();
        taskLatch.countDown();
    
        ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS));
        assertEquals(IllegalStateException.class, e.getCause().getClass());
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
      public void testListenerCalledOnCancelFromNotRunning() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

        protected Cache<String, List<String>> cache;
    
        protected FessConfig fessConfig;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
            cache = CacheBuilder.newBuilder().maximumSize(fessConfig.getSuggestPopularWordCacheSizeAsInteger().longValue())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top