Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1621 - 1630 of 6,187 for New (0.01 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

    import org.codehaus.plexus.classworlds.ClassWorld;
    
    /**
     * Maven CLI "new-gen".
     */
    public class MavenCling extends ClingSupport {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenCling().run(args, null, null, null, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            try {
                return container.lookup(type, name);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

                File cpuInfoFile = new File("/proc/cpuinfo");
                if (cpuInfoFile.exists()) {
                    // Count physical cores on any Linux distro ( don't count hyper-threading )
                    Map<String, Integer> socketToCore = new HashMap<>();
                    String currentID = "";
    
                    try (BufferedReader reader = new BufferedReader(new FileReader(cpuInfoFile))) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
    
            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getClassifier(),
                    null,
                    dependency.getVersion(),
                    props,
                    stereotype);
    
            List<Exclusion> exclusions = new ArrayList<>(dependency.getExclusions().size());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

            this.commandRegistries = new ArrayList<>();
        }
    
        public void addCommandRegistry(CommandRegistry commandRegistry) {
            requireNonNull(commandRegistry, "commandRegistry");
            this.commandRegistries.add(commandRegistry);
        }
    
        public CommandRegistry[] getCommandRegistries() {
            return commandRegistries.toArray(new CommandRegistry[0]);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                        propField.setAccessible(true);
                        propField.set(this, new org.dbflute.helper.jprop.ObjectiveProperties("test"));
                    } catch (Exception e) {
                        throw new RuntimeException("Failed to initialize prop field", e);
                    }
                }
    
                @Override
                public String getIndexFieldTitle() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              }
            }
          }
        };
    
        RequestBody requestBody = RequestBody.create(
          new File("docs/images/logo-square.png"),
          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
          .url("https://api.imgur.com/3/image")
          .post(new ProgressRequestBody(requestBody, progressListener))
          .build();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java

    /**
     * Maven upgrade CLI "new-gen".
     */
    public class MavenUpCling extends ClingSupport {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenUpCling().run(args, null, null, null, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return TypeToken.of(generateClass());
      }
    
      // io types
      @Generates
      File generateFile() {
        return new File(generateString());
      }
    
      @Generates
      static ByteArrayInputStream generateByteArrayInputStream() {
        return new ByteArrayInputStream(new byte[0]);
      }
    
      @Generates
      static InputStream generateInputStream() {
        return generateByteArrayInputStream();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top