incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 31021 - incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/formatting/format
Date Sat, 31 Jul 2004 07:43:49 GMT
Author: nickchalko
Date: Sat Jul 31 00:43:48 2004
New Revision: 31021

Modified:
   incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/formatting/format/ApacheVersionFormat.java
Log:
Opps bad idea. roll back.

Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/formatting/format/ApacheVersionFormat.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/formatting/format/ApacheVersionFormat.java
(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/formatting/format/ApacheVersionFormat.java
Sat Jul 31 00:43:48 2004
@@ -242,7 +242,13 @@
 			output.append(".");
 			output.append(Integer.toString(data.getMinor()));
 		}
-
+		if (m_elements.hasPoint()) {
+			int point = data.getPoint();
+			if (point > VersionDataElement.UNSET_POINT) {
+				output.append(".");
+				output.append(Integer.toString(point));
+			}
+		}
 		return output.toString();
 	}
 

Mime
View raw message