Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 661 for getHome (0.16 sec)

  1. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/CancellationExceptionTransformer.java

                    for (Throwable t = e; t != null; t = t.getCause()) {
                        if ("org.gradle.api.BuildCancelledException".equals(t.getClass().getName())
                            || "org.gradle.tooling.BuildCancelledException".equals(t.getClass().getName())) {
                            return new InternalBuildCancelledException(e.getCause());
                        }
                    }
                    return e;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyConstraint.java

                    ""
            );
        }
    
        @Override
        public String getGroup() {
            return projectDependency.getGroup();
        }
    
        @Override
        public String getName() {
            return projectDependency.getName();
        }
    
        @Nullable
        @Override
        public String getVersion() {
            return projectDependency.getVersion();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/AbstractOptionElement.java

            } catch (OptionValidationException ex) {
                throw new OptionValidationException(String.format("Option '%s' cannot be cast to type '%s' in class '%s'.",
                        optionName, optionType.getName(), declaringClass.getName()));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 14:17:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/services/internal/ConsumedBuildServiceProvider.java

                if (results.isEmpty()) {
                    return null;
                }
                if (results.size() > 1) {
                    if (!failIfAmbiguous) {
                        return null;
                    }
                    String names = results.stream()
                        .map(it -> it.getName() + ": " + getProvidedType(it.getService()).getTypeName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/ProblemId.java

     * Represents an identifier for a problem definition.
     * <p>
     * Two problem IDs are considered equal if their {@link #getName()} and their groups are equal.
     *
     * @since 8.8
     */
    @Incubating
    public interface ProblemId {
    
        /**
         * The name of the problem.
         *
         * @since 8.8
         */
        String getName();
    
        /**
         * A human-readable label describing the problem ID.
         *
         * @since 8.8
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:38:33 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/accessor.go

    import (
    	"k8s.io/api/admissionregistration/v1"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    type PolicyAccessor interface {
    	GetName() string
    	GetNamespace() string
    	GetParamKind() *v1.ParamKind
    	GetMatchConstraints() *v1.MatchResources
    }
    
    type BindingAccessor interface {
    	GetName() string
    	GetNamespace() string
    
    	// GetPolicyName returns the name of the (Validating/Mutating)AdmissionPolicy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/JavaClassUtilTest.groovy

            expect:
            JavaClassUtil.getClassMajorVersion(JavaClassUtil.class.getName(), JavaClassUtil.getClassLoader()) == 50
        }
    
        def "can extract java class input stream major version"() {
            expect:
            def stream = JavaClassUtil.getClassLoader().getResourceAsStream(JavaClassUtil.getName().replace(".", "/") + ".class")
            JavaClassUtil.getClassMajorVersion(stream) == 50
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/FileUtilTest.java

    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class FileUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedEnumValueSnapshot.java

        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
            if (type.isInstance(value)) {
                return type.cast(value);
            }
            if (type.isEnum() && type.getName().equals(value.getDeclaringClass().getName())) {
                return type.cast(Enum.valueOf(Cast.uncheckedNonnullCast(type.asSubclass(Enum.class)), value.name()));
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top