You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2008/08/25 17:01:56 UTC

svn commit: r688744 - /db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java

Author: rhillegas
Date: Mon Aug 25 08:01:55 2008
New Revision: 688744

URL: http://svn.apache.org/viewvc?rev=688744&view=rev
Log:
DERBY-3820: Port 688742 from trunk to 10.4 branch; this is a fix for the release notes generator.

Modified:
    db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java

Modified: db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java?rev=688744&r1=688743&r2=688744&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java (original)
+++ db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java Mon Aug 25 08:01:55 2008
@@ -771,6 +771,10 @@
             idx = end;
 
             String  attachmentAddress = jira.substring( start, end );
+
+            // skip attachments that aren't release notes
+            if ( !attachmentAddress.endsWith( RELEASE_NOTE_NAME ) ) { continue; }
+
             int         versionNumberStart = ATTACHMENT_START.length();
             int         versionNumberEnd = attachmentAddress.indexOf( ATTACHMENT_VERSION_END, versionNumberStart );
             String  versionString = attachmentAddress.substring( versionNumberStart, versionNumberEnd );