User: salborini
  Date: 00/08/17 10:37:55

  Modified:    src/main/org/jboss/metadata MetaData.java
  Log:
  Lexicographical ordering. Should work until 1.9.
  That was fun. Is that XP? :)
  
  Revision  Changes    Path
  1.7       +2 -2      jboss/src/main/org/jboss/metadata/MetaData.java
  
  Index: MetaData.java
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/metadata/MetaData.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MetaData.java     2000/08/17 09:01:49     1.6
  +++ MetaData.java     2000/08/17 17:37:55     1.7
  @@ -22,7 +22,7 @@
    *      
    *   @see <related>
    *   @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
  - *   @version $Revision: 1.6 $
  + *   @version $Revision: 1.7 $
    */
   public abstract class MetaData implements XmlLoadable {
       // Constants -----------------------------------------------------
  @@ -121,7 +121,7 @@
        protected boolean jdk13Enabled() {
                // should use "java.version" ?
                String javaVersion = System.getProperty("java.vm.version");
  -             return !javaVersion.startsWith("1.2.2");
  +             return javaVersion.compareTo("1.3") >= 0;
        }
        
        // Private -------------------------------------------------------
  
  
  

Reply via email to