Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 3,790 for news (0.02 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            PluginPrefixRequest request = new DefaultPluginPrefixRequest(prefix, session);
            request.setPom(project.getModel());
    
            try {
                PluginPrefixResult result = pluginPrefixResolver.resolve(request);
    
                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        public List<Profile> getProfiles() {
            if (profiles == null) {
                profiles = new ArrayList<>();
            }
    
            return profiles;
        }
    
        @Override
        public DefaultModelBuildingRequest setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles = null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            switch (parts.length) {
                case 3:
                    s = new DefaultArtifact(parts[0], parts[1], "*", "*", parts[2]);
                    break;
                case 4:
                    s = new DefaultArtifact(parts[0], parts[1], "*", parts[2], parts[3]);
                    break;
                case 5:
                    s = new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]);
                    break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedMultisetTest.class);
        suite.addTest(
            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
                        return new StandardImplForwardingSortedMultiset<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        final boolean[] called = new boolean[1];
        f.addCallback(
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                called[0] = true;
              }
    
              @Override
              public void onFailure(Throwable t) {}
            },
            directExecutor());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

        public void setUp() throws Exception {
            super.setUp();
            stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date());
            List<StemmerOverrideItem> itemList = new ArrayList<>();
            itemList.add(new StemmerOverrideItem(1, "aaa", "a"));
            itemList.add(new StemmerOverrideItem(2, "bbb", "b"));
            itemList.add(new StemmerOverrideItem(3, "ccc", "c"));
            stemmerOverrideFile.stemmerOverrideItemList = itemList;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testRemove3() throws Exception {
            Map<MyKey, String> m = new ArrayMap<MyKey, String>();
            m.put(new MyKey("1"), "d");
            m.put(new MyKey("2"), "d");
            m.remove(new MyKey("1"));
            assertThat(m.containsKey(new MyKey("1")), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
        Iterable<TypeB> blist = filter(alist, TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      public void testTransform_iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top