Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for asarray (0.5 sec)

  1. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

            cache.put(project1, new SetWithResolutionResult(null, artifacts));
    
            assertArrayEquals(
                    artifacts.toArray(new Artifact[0]),
                    cache.get(project1).getArtifacts().toArray(new Artifact[0]));
    
            ProjectArtifactsCache.Key project2 = new ProjectArtifactsCache.Key() {};
    
            Set<Artifact> reversedArtifacts = new LinkedHashSet<>(4);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:34:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    
        /**
         * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()}
         * root.
         *
         * @return the byte array if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

         */
        public static WorkspaceReader of(Collection<WorkspaceReader> workspaceReaderCollection) {
            WorkspaceReader[] readers = workspaceReaderCollection.toArray(new WorkspaceReader[0]);
            if (readers.length == 1) {
                return readers[0];
            }
            return new MavenChainedWorkspaceReader(readers);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                commandLineBuilder.addArg(arg);
            }
    
            /* Although this looks wrong in terms of order Commons CLI stores the value of options in
             * an array and when a value is potentionally overriden it is added to the array. The single
             * arg option value is retrieved and instead of returning values[values.length-1] it returns
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty array if there is no path element
         * @throws IllegalStateException if no option is associated to this path type
         */
        @Nonnull
        @Override
        public String[] option(Iterable<? extends Path> paths) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    return instance -> {
                        Object[] args = getDependencies().stream()
                                .map(compiler)
                                .map(Supplier::get)
                                .toArray();
                        try {
                            method.invoke(instance, args);
                        } catch (IllegalAccessException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

         * as {@link #testCompareUuidVersionStringStream()}, it covers broader range and in case it fails it records
         * the failed array, so we can investigate more.
         */
        @Test
        void testCompareUuidRandom() {
            for (int j = 0; j < 32; j++) {
                ArrayList<Version> versions = new ArrayList<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

            String expression = param.getExpression();
    
            if (param.isEditable()) {
                boolean isArray = param.getType().endsWith("[]");
                boolean isCollection = false;
                boolean isMap = false;
                boolean isProperties = false;
                if (!isArray) {
                    try {
                        // assuming Type is available in current ClassLoader
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 09 23:46:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                List<MetadataGraphEdge> exits = graph.getExcidentEdges(node);
    
                if (exits != null && exits.size() > 0) {
                    MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]);
                    Arrays.sort(sortedExits, (e1, e2) -> {
                        if (e1.getDepth() == e2.getDepth()) {
                            if (e2.getPomOrder() == e1.getPomOrder()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        private void checkVersionsArrayEqual(String[] array) {
            // compare against each other (including itself)
            for (int i = 0; i < array.length; ++i)
                for (int j = i; j < array.length; ++j) checkVersionsEqual(array[i], array[j]);
        }
    
        private void checkVersionsOrder(String v1, String v2) {
            Comparable c1 = newComparable(v1);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:39:47 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top