krysalis-version/src/java/org/krysalis/version/internal/data VersionData.java,1.16,1.17 VersionDataElement.java,1.1,1.2

[email protected]
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/internal/data
In directory sc8-pr-cvs1:/tmp/cvs-serv16499/src/java/org/krysalis/version/internal/data

Modified Files:
	VersionData.java VersionDataElement.java 
Log Message:
Try removing directories I thought I'd already removed.
Doc addition
Tinkering...

Index: VersionData.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/internal/data/VersionData.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** VersionData.java	7 Feb 2003 20:11:49 -0000	1.16
--- VersionData.java	16 Feb 2003 14:43:21 -0000	1.17
***************
*** 713,729 ****
  
      public String toString() {
!         return "("
!             + m_major
!             + ","
!             + m_minor
!             + ","
!             + m_releaseLevel
!             + ","
!             + m_releaseQualifier
!             + ","
!             + m_point
!             + ","
!             + m_buildNumber
!             + ")";
      }
  
--- 713,759 ----
  
      public String toString() {
!         boolean needSeparator = false;
!         StringBuffer buffer = new StringBuffer();
! 
!         buffer.append("(");
! 
!         buffer.append(m_major);
!         if (VersionDataElement.UNSET_MINOR != m_minor) {
!             buffer.append(",");
!             buffer.append(m_minor);
!             needSeparator = true;
!         }
!         if( (!VersionDataElement.UNSET_RELEASE_LEVEL.equals(m_releaseLevel))
!             && !ReleaseLevel.RELEASE.equals(m_releaseLevel)) {
!             if (needSeparator)
!                 buffer.append(",");
! 
!             buffer.append(m_releaseLevel);
!             needSeparator = true;
!         }
! 
!         if (VersionDataElement.UNSET_RELEASE_QUALIFIER != m_releaseQualifier) {
!             if (needSeparator)
!                 buffer.append(",");
!             buffer.append(m_releaseQualifier);
!             needSeparator = true;
!         }
! 
!         if (VersionDataElement.UNSET_POINT != m_point) {
!             if (needSeparator)
!                 buffer.append(",");
!             buffer.append(m_point);
!             needSeparator = true;
!         }
! 
!         if (VersionDataElement.UNSET_BUILD_NUMBER != m_buildNumber) {
!             if (needSeparator)
!                 buffer.append(",");
!             buffer.append(m_buildNumber);
!         }
! 
!         buffer.append(")");
! 
!         return buffer.toString();
      }
  

Index: VersionDataElement.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-version/src/java/org/krysalis/version/internal/data/VersionDataElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VersionDataElement.java	6 Feb 2003 22:08:26 -0000	1.1
--- VersionDataElement.java	16 Feb 2003 14:43:21 -0000	1.2
***************
*** 93,98 ****
      public static final ReleaseLevel DEFAULT_RELEASE_LEVEL =
          ReleaseLevel.DEFAULT;
!     public static final int DEFAULT_RELEASE_QUALIFIER = UNSET_MAJOR;
!     public static final int DEFAULT_BUILD_NUMBER = UNSET_MAJOR;
  
      /** Unset */
--- 93,98 ----
      public static final ReleaseLevel DEFAULT_RELEASE_LEVEL =
          ReleaseLevel.DEFAULT;
!     public static final int DEFAULT_RELEASE_QUALIFIER = UNSET_RELEASE_QUALIFIER ;
!     public static final int DEFAULT_BUILD_NUMBER = UNSET_BUILD_NUMBER;
  
      /** Unset */




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.