juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/src/java/org/apache/juddi/util Release.java
Date Fri, 11 Mar 2005 04:40:52 GMT
sviens      2005/03/10 20:40:52

  Modified:    src/java/org/apache/juddi/util Release.java
  Log:
  Added getUDDIVersion() method and renamed getVersion() to getRegistryVersion()
  
  Revision  Changes    Path
  1.7       +9 -3      ws-juddi/src/java/org/apache/juddi/util/Release.java
  
  Index: Release.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/util/Release.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Release.java	8 Mar 2005 01:36:22 -0000	1.6
  +++ Release.java	11 Mar 2005 04:40:52 -0000	1.7
  @@ -26,18 +26,24 @@
    */
   public class Release 
   {
  -  private static final String VERSION = "0.9rc4";
  +  private static final String REGISTRY_VERSION = "0.9rc4";
  +  private static final String UDDI_VERSION = "2.0";
     
     // Made private to avoid instantiation
     private Release()
     {
     }
     
  -  public static String getVersion()
  +  public static String getRegistryVersion()
     {
  -    return VERSION;
  +    return REGISTRY_VERSION;
     }
     
  +  public static String getUDDIVersion()
  +  {
  +    return UDDI_VERSION;
  +  }
  +
     public static String getLastModified()
     {
       String filePath = getClassFileLocation(Release.class);
  
  
  

Mime
View raw message