Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Try (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

            .inOrder();
        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .inOrder();
        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                throws ProjectBuildingException {
            try (BuildSession bs = new BuildSession(request, false)) {
                return bs.build(artifact, allowStubModel);
            }
        }
    
        @Override
        public List<ProjectBuildingResult> build(List<File> pomFiles, boolean recursive, ProjectBuildingRequest request)
                throws ProjectBuildingException {
            try (BuildSession bs = new BuildSession(request, true)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            final FileInputStream is = InputStreamUtil.create(in);
            try {
                final FileOutputStream os = OutputStreamUtil.create(out);
                try {
                    return copyInternal(is, os);
                } finally {
                    CloseableUtil.close(os);
                }
            } finally {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                String source = null;
                final String filePath = indexConfigPath + "/" + index + "/" + path;
                try {
                    source = FileUtil.readUTF8(filePath);
                    try (CurlResponse response =
                            ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(source).execute()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    .build();
            DefaultModelProblemCollector problems = new DefaultModelProblemCollector(new DefaultModelBuilderResult());
            try {
                Model model = readFileModel(request, problems);
    
                try {
                    if (transformer != null && context != null) {
                        transformer.transform(context, model, pomFile);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          reverse.add(4);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          reverse.addAll(Collections.singleton(4));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          reverse.remove(4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
            final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
            try {
                response.setContentType("application/x-ndjson; charset=UTF-8");
                final long count = searchHelper.scrollSearch(params, doc -> {
                    buf.setLength(0);
                    buf.append('{');
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top