Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,444 for scratch (0.07 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         */
        @Test
        public void testIllegalIndexedType() throws Exception {
            try {
                ReflectionValueExtractor.evaluate("h.value[1]", new ValueHolder("string"));
            } catch (Exception e) {
                // TODO assert exception message
            }
        }
    
        /**
         * <p>testIllegalMappedType.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. docs/bucket/versioning/README.md

          minioClient.enableVersioning(EnableVersioningArgs.builder().bucket("my-bucketname").build());
    
          System.out.println("Bucket versioning is enabled successfully");
    
        } catch (MinioException e) {
          System.out.println("Error occurred: " + e);
        }
      }
    }
    ```
    
    ### isVersioningEnabled() API
    
    ```
    public class IsVersioningEnabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            try {
                return versionScheme.parseVersion(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        private VersionRange parseVersionRange(String spec) {
            try {
                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
                    } catch (final UnsupportedEncodingException e) {
                        buf.append(c);
                    }
                }
            }
            return buf.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                    cause.printStackTrace(pw);
                    pw.flush();
                    sb.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

            .testEquals();
      }
    
      private Method getTestSubscriberMethod(String name) {
        try {
          return getClass().getDeclaredMethod(name, Object.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Callables.java

         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
                }
                return UserDictionary.open(new StringReader(sb.toString()));
            } catch (IOException e) {
                throw new OpenSearchException("failed to load kuromoji user dictionary", e);
            }
        }
    
        public static JapaneseTokenizer.Mode getMode(Settings settings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        Runtime.getRuntime().gc()
        Thread.sleep(100)
        System.runFinalization()
      }
    
      @JvmStatic
      fun assumeNetwork() {
        try {
          InetAddress.getByName("www.google.com")
        } catch (uhe: UnknownHostException) {
          assumeTrue(false, "requires network")
        }
      }
    
      @JvmStatic
      fun assumeNotWindows() {
        assumeFalse(windows, "This test fails on Windows.")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top