db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r688744 - /db/derby/code/branches/10.4/java/build/org/apache/derbyBuild/ReleaseNotesGenerator.java
Date Mon, 25 Aug 2008 15:01:56 GMT
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
);



Mime
View raw message