Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2801 - 2810 of 5,478 for newA (0.02 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

            } catch (InvalidVersionSpecificationException e) {
                throw new IllegalArgumentException("Invalid 'requiredJavaVersion' given in plugin descriptor", e);
            }
            Version current;
            try {
                current = versionScheme.parseVersion(currentVersion);
            } catch (InvalidVersionSpecificationException e) {
                throw new IllegalStateException("Could not parse current Java version", e);
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/WebApiResponse.java

         * @return A PrintWriter for response output
         * @throws IOException If an I/O error occurs
         */
        @Override
        public PrintWriter getWriter() throws IOException {
            // dummy stream
            return new PrintWriter(new ByteArrayOutputStream());
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

    import org.opensearch.index.analysis.Analysis;
    
    public class KuromojiPartOfSpeechFilterFactory extends AbstractTokenFilterFactory {
    
        private final Set<String> stopTags = new HashSet<>();
    
        public KuromojiPartOfSpeechFilterFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, name, settings);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

                return artifactType;
            }
            return new DefaultType(
                    type.id(),
                    type.getLanguage(),
                    type.getExtension(),
                    type.getClassifier(),
                    type.isIncludesDependencies(),
                    type.getPathTypes().toArray(new PathType[0]));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 18 22:21:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

            super(message, cause);
        }
    
        /**
         * Creates a new MimeTypeException with the specified detail message.
         *
         * @param message the detail message explaining the reason for the exception
         */
        public MimeTypeException(final String message) {
            super(message);
        }
    
        /**
         * Creates a new MimeTypeException with the specified cause.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

         * Verifies the no-arg constructor sets the expected message, status, and no cause.
         */
        @Test
        void defaultConstructorSetsMessageAndStatus() {
            // Arrange & Act
            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(new HashSet<>(map.entrySet()), map.entrySet());
        assertEquals(new HashSet<>(map.keySet()), map.keySet());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top