You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ps...@apache.org on 2004/05/14 05:19:57 UTC

cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/version VersionManager.java

psmith      2004/05/13 20:19:57

  Added:       src/java/org/apache/log4j/chainsaw/version
                        VersionManager.java
  Log:
  This class really just tracks a version string, which is hard coded, but might eventually be Ant'fied to have
  an incremental build version in it or something.
  
  For now, we should remember to update this number, and describe the changes between
  releases in the release-notes.html file.
  
  Revision  Changes    Path
  1.1                  logging-log4j/src/java/org/apache/log4j/chainsaw/version/VersionManager.java
  
  Index: VersionManager.java
  ===================================================================
  package org.apache.log4j.chainsaw.version;
  
  
  /**
   * @author psmith
   *
   */
  public class VersionManager
  {
  
      private static final VersionManager instance = new VersionManager();
      
      private static final String VERSION_INFO = "1.99.99";
      
      public static final VersionManager getInstance() {
          return instance;
      }
      
      public String getVersionNumber() {
          return VERSION_INFO;
      }
      
      /**
       * 
       */
      private VersionManager()
      {
      }
  
  }
  
  
  

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