Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2621 - 2630 of 3,818 for Avoid (0.03 sec)

  1. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

     */
    package org.codelibs.fess.app.web.admin.design;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class AdminDesignActionTest extends UnitFessTestCase {
        public void test_decodeJsp() {
            assertEquals("&lt;% a %&gt;", AdminDesignAction.decodeJsp("<% a %>"));
            assertEquals("&lt;%= a %&gt;", AdminDesignAction.decodeJsp("<%= a %>"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolution.java

            return metadataRepositories;
        }
    
        public void setMetadataRepositories(Collection<ArtifactRepository> metadataRepositories) {
            this.metadataRepositories = metadataRepositories;
        }
        // -------------------------------------------------------------------
        public ArtifactMetadata getArtifactMetadata() {
            return artifactMetadata;
        }
    
        public void setArtifactMetadata(ArtifactMetadata artifactMetadata) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/MavenSimpleConfiguration.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Configuration for slf4j-simple.
     *
     * @since 3.1.0
     */
    public class MavenSimpleConfiguration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new LoggingInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
        final AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

    
    /**
     * @author mbechler
     *
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * 
         */
        void release ();
    
    
        /**
         * 
         * @throws SmbException
         * @throws CIFSException
         */
        void ensureDFSResolved () throws CIFSException;
    
    
        /**
         * @param cap
         * @return whether the capabiltiy is present
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            }
        }
    
    
        @Override
        public void removeTransport ( SmbTransport trans ) {
            if ( log.isDebugEnabled() ) {
                log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")");
            }
            this.toRemove.add((SmbTransportImpl) trans);
        }
    
    
        private void cleanup () {
            synchronized ( this.connections ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeTraverser.java

          public UnmodifiableIterator<T> iterator() {
            return preOrderIterator(root);
          }
    
          @Override
          public void forEach(Consumer<? super T> action) {
            checkNotNull(action);
            new Consumer<T>() {
              @Override
              public void accept(T t) {
                action.accept(t);
                children(t).forEach(this);
              }
            }.accept(root);
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top