Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 163 for getProperty (0.06 seconds)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        assertThat(source.read()).isEmpty();
    
        out.write(data);
        assertThat(source.read()).isEqualTo(data);
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      /**
       * Test that verifies the resource leak fix for <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      private static ImmutableList<URL> parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

     */
    @Deprecated
    public interface RepositorySystem {
        String DEFAULT_LOCAL_REPO_ID = MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID;
    
        @SuppressWarnings("checkstyle:constantname")
        String userHome = System.getProperty("user.home");
    
        @SuppressWarnings("checkstyle:constantname")
        File userMavenConfigurationHome = new File(userHome, ".m2");
    
        @SuppressWarnings("checkstyle:constantname")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            }
    
            if (basedir == null) {
                basedir = session.getTopDirectory();
            }
    
            if (basedir == null) {
                basedir = Paths.get(System.getProperty("user.dir"));
            }
    
            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems) {
            Map<Object, Object> hints = new HashMap<>();
            String childPath = child.getProperties().getProperty(CHILD_DIRECTORY_PROPERTY, child.getArtifactId());
            hints.put(CHILD_DIRECTORY, childPath);
            hints.put(MavenModelMerger.CHILD_PATH_ADJUSTMENT, getChildPathAdjustment(child, parent, childPath));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                stk.peek().location = "version";
                validator.accept(oa.getVersion());
                stk.pop();
                stk.pop();
            });
            root.map(Activation::getProperty).ifPresent(pa -> {
                stk.push(new ActivationFrame("property", Optional.of(pa)));
                stk.push(new ActivationFrame("name", Optional.empty()));
                validator.accept(pa.getName());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      static final boolean GENERATE_CANCELLATION_CAUSES;
    
      static {
        // System.getProperty may throw if the security policy does not permit access.
        boolean generateCancellationCauses;
        try {
          generateCancellationCauses =
              parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    int); protected void ensureEntityCapacity(); protected void reset(); public void MXParser(); public void setFeature(String, boolean) throws XmlPullParserExcepti; public boolean getFeature(String); public void setProperty(String, Object) throws XmlPullParserExcepti; public Object getProperty(String); public void setInput(java.io.Reader) throws XmlPullParserExcepti; public void setInput(java.io.InputStream, String) throws XmlPullParserExcepti; public String getInputEncoding(); public void defineEn...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        // the version currently differs between our dev infrastructure, so we only track the name and the architecture
        inputs.property("operatingSystem", "${OperatingSystem.current().name} ${System.getProperty("os.arch")}")
    }
    
    fun Test.isUnitTest() = listOf("test", "writePerformanceScenarioDefinitions", "writeTmpPerformanceScenarioDefinitions").contains(name)
    
    /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1");
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZeroExact() {
        String runtimeName = System.getProperty("java.runtime.name");
        boolean isAndroid = runtimeName != null && runtimeName.contains("Android");
        for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) {
          for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 27.1K bytes
    - Click Count (0)
Back to Top