You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2003/05/14 19:13:01 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang SystemUtils.java

ggregory    2003/05/14 10:13:01

  Modified:    lang/src/java/org/apache/commons/lang SystemUtils.java
  Log:
  Be a little more precise in the IS_JAVA_* javadocs.
  Make JAVA_* javadocs read more like sentences.
  
  Revision  Changes    Path
  1.9       +39 -34    jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
  
  Index: SystemUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SystemUtils.java	23 Mar 2003 18:02:29 -0000	1.8
  +++ SystemUtils.java	14 May 2003 17:13:00 -0000	1.9
  @@ -60,6 +60,7 @@
    * @author Based on code from Lucene
    * @author Stephen Colebourne
    * @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
  + * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
    * @since 1.0
    * @version $Id$
    */
  @@ -77,7 +78,7 @@
       }
   
       /**
  -     * System Property - file.separator.
  +     * The <code>file.separator</code> System Property.
        * File separator ("/" on UNIX).
        * First in JDK version 1.1.
        */
  @@ -85,7 +86,7 @@
       
   
       /**
  -     * System Property - java.class.path.
  +     * The <code>java.class.path</code> System Property.
        * Java class path.
        * First in JDK version 1.1.
        */
  @@ -93,7 +94,7 @@
       
   
       /**
  -     * System Property - java.class.version.
  +     * The <code>java.class.version</code> System Property.
        * Java class format version number.
        * First in JDK version 1.1.
        */
  @@ -101,7 +102,7 @@
       
   
       /**
  -     * System Property - java.compiler.
  +     * The <code>java.compiler</code> System Property.
        * Name of JIT compiler to use.
        * First in JDK version 1.4.
        */
  @@ -109,7 +110,7 @@
       
   
       /**
  -     * System Property - java.ext.dirs.
  +     * The <code>java.ext.dirs</code> System Property.
        * Path of extension directory or directories.
        * First in JDK version 1.3.
        */
  @@ -117,7 +118,7 @@
       
   
       /**
  -     * System Property - java.home.
  +     * The <code>java.home</code> System Property.
        * Java installation directory.
        * First in JDK version 1.1.
        */
  @@ -125,7 +126,7 @@
       
   
       /**
  -     * System Property - java.io.tmpdir.
  +     * The <code>java.io.tmpdir</code> System Property.
        * Default temp file path.
        * First in JDK version 1.4.
        */
  @@ -133,7 +134,7 @@
       
   
       /**
  -     * System Property - java.library.path.
  +     * The <code>java.library.path</code> System Property.
        * List of paths to search when loading libraries.
        * First in JDK version 1.4.
        */
  @@ -141,7 +142,7 @@
       
   
       /**
  -     * System Property - java.specification.name.
  +     * The <code>java.specification.name</code> System Property.
        * Java Runtime Environment specification name.
        * First in JDK version 1.2.
        */
  @@ -149,7 +150,7 @@
       
   
       /**
  -     * System Property - java.specification.vendor.
  +     * The <code>java.specification.vendor</code> System Property.
        * Java Runtime Environment specification vendor.
        * First in JDK version 1.2.
        */
  @@ -157,7 +158,7 @@
       
   
       /**
  -     * System Property - java.specification.version.
  +     * The <code>java.specification.version</code> System Property.
        * Java Runtime Environment specification version.
        * First in JDK version 1.2.
        */
  @@ -165,7 +166,7 @@
       
   
       /**
  -     * System Property - java.vendor.
  +     * The <code>java.vendor</code> System Property.
        * Java vendor-specific string.
        * First in JDK version 1.1.
        */
  @@ -173,7 +174,7 @@
       
   
       /**
  -     * System Property - java.vendor.url.
  +     * The <code>java.vendor.url</code> System Property.
        * Java vendor URL.
        * First in JDK version 1.1. 
        */
  @@ -181,7 +182,7 @@
       
   
       /**
  -     * System Property - java.version.
  +     * The <code>java.version</code> System Property.
        * Java version number.
        * First in JDK version 1.1. 
        */
  @@ -189,7 +190,7 @@
       
   
       /**
  -     * System Property - java.vm.name.
  +     * The <code>java.vm.name</code> System Property.
        * Java Virtual Machine implementation name.
        * First in JDK version 1.2.
        */
  @@ -197,7 +198,7 @@
       
   
       /**
  -     * System Property - java.vm.specification.name.
  +     * The <code>java.vm.specification.name</code> System Property.
        * Java Virtual Machine specification name.
        * First in JDK version 1.2.
        */
  @@ -205,7 +206,7 @@
       
   
       /**
  -     * System Property - java.vm.specification.vendor.
  +     * The <code>java.vm.specification.vendor</code> System Property.
        * Java Virtual Machine specification vendor.
        * First in JDK version 1.2.
        */
  @@ -213,7 +214,7 @@
       
   
       /**
  -     * System Property - java.vm.specification.version.
  +     * The <code>java.vm.specification.version</code> System Property.
        * Java Virtual Machine specification version.
        * First in JDK version 1.2.
        */
  @@ -221,7 +222,7 @@
       
   
       /**
  -     * System Property - java.vm.vendor.
  +     * The <code>java.vm.vendor</code> System Property.
        * Java Virtual Machine implementation vendor.
        * First in JDK version 1.2.
        */
  @@ -229,7 +230,7 @@
       
   
       /**
  -     * System Property - java.vm.version.
  +     * The <code>java.vm.version</code> System Property.
        * Java Virtual Machine implementation version.
        * First in JDK version 1.2.
        */
  @@ -237,7 +238,7 @@
       
   
       /**
  -     * System Property - line.separator.
  +     * The <code>line.separator</code> System Property.
        * Line separator ("\n" on UNIX).
        * First in JDK version 1.1. 
        */
  @@ -245,7 +246,7 @@
       
   
       /**
  -     * System Property - os.arch.
  +     * The <code>os.arch</code> System Property.
        * Operating system architecture.
        * First in JDK version 1.1. 
        */
  @@ -253,7 +254,7 @@
       
   
       /**
  -     * System Property - os.name.
  +     * The <code>os.name</code> System Property.
        * Operating system name.
        * First in JDK version 1.1. 
        */
  @@ -261,7 +262,7 @@
       
   
       /**
  -     * System Property - os.version.
  +     * The <code>os.version</code> System Property.
        * Operating system version.
        * First in JDK version 1.1. 
        */
  @@ -269,7 +270,7 @@
       
   
       /**
  -     * System Property - path.separator.
  +     * The <code>path.separator</code> System Property.
        * Path separator (":" on UNIX).
        * First in JDK version 1.1. 
        */
  @@ -277,7 +278,7 @@
       
   
       /**
  -     * System Property - user.dir.
  +     * The <code>user.dir</code> System Property.
        * User's current working directory.
        * First in JDK version 1.1. 
        */
  @@ -285,7 +286,7 @@
       
   
       /**
  -     * System Property - user.home.
  +     * The <code>user.home</code> System Property.
        * User's home directory.
        * First in JDK version 1.1. 
        */
  @@ -293,30 +294,34 @@
       
   
       /**
  -     * System Property - user.name.
  +     * The <code>user.name</code> System Property.
        * User's account name.
        * First in JDK version 1.1. 
        */
       public static final String USER_NAME = System.getProperty("user.name");
       
       /** 
  -     * True iff this is Java version 1.1. 
  +     * Is <code>true</code> if this is Java version 1.1 (also 1.1.x versions).
        */
       public static final boolean IS_JAVA_1_1 = JAVA_VERSION.startsWith("1.1.");
  +
       /** 
  -     * True iff this is Java version 1.2. 
  +     * Is <code>true</code> if this is Java version 1.2 (also 1.2.x versions).
        */
       public static final boolean IS_JAVA_1_2 = JAVA_VERSION.startsWith("1.2.");
  +
       /** 
  -     * True iff this is Java version 1.3. 
  +     * Is <code>true</code> if this is Java version 1.3 (also 1.3.x versions).
        */
       public static final boolean IS_JAVA_1_3 = JAVA_VERSION.startsWith("1.3.");
  +
       /** 
  -     * True iff this is Java version 1.4. 
  +     * Is <code>true</code> if this is Java version 1.4 (also 1.4.x versions).
        */
       public static final boolean IS_JAVA_1_4 = JAVA_VERSION.startsWith("1.4.");
  +
       /** 
  -     * True iff this is Java version 1.5. 
  +     * Is <code>true</code> if this is Java version 1.5 (also 1.5.x versions).
        */
       public static final boolean IS_JAVA_1_5 = JAVA_VERSION.startsWith("1.5.");
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org