Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 234 for getProperty (0.31 sec)

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

         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/TestPlatform.java

    /** @author Chris Povirk */
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return false;
      }
    
      static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed May 10 16:00:00 GMT 2023
    - 946 bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
        public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OS version.
         */
        public static final String OS_VERSION = System.getProperty("os.version").toLowerCase(Locale.ENGLISH);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines) throws IOException {
        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            helper.updateSystemProperties();
            assertNull(System.getProperty("fess." + now));
            assertNull(System.getProperty("test." + now));
            appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2");
            helper.updateSystemProperties();
            assertEquals("test1", System.getProperty("fess." + now));
            assertEquals("test2", System.getProperty("test." + now));
        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

                Config.getInt( "jcifs.smb1.smb.client.connTimeout", DEFAULT_CONN_TIMEOUT );
        static final String NATIVE_OS =
                Config.getProperty( "jcifs.smb1.smb.client.nativeOs", System.getProperty( "os.name" ));
        static final String NATIVE_LANMAN =
                Config.getProperty( "jcifs.smb1.smb.client.nativeLanMan", "jCIFS" );
        static final int VC_NUMBER = 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/StandardSystemProperty.java

    /**
     * Represents a {@linkplain System#getProperties() standard system property}.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @J2ktIncompatible
    @GwtIncompatible // java.lang.System#getProperty
    @ElementTypesAreNonnullByDefault
    public enum StandardSystemProperty {
    
      /** Java Runtime Environment version. */
      JAVA_VERSION("java.version"),
    
      /** Java Runtime Environment vendor. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/SingletonContext.java

            SingletonContext.getInstance();
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if ( pkgs == null ) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            }
            else if ( pkgs.indexOf("jcifs") == -1 ) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            if (property == null) {
                return false;
            }
    
            String name = property.getName();
            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top