conor       01/08/25 04:49:44

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_14_BRANCH
                        Manifest.java
  Log:
  First line was being ignored - usually not an issue since it
  should be the version field and this is added anyway but it should not
  be ignored.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.1   +1 -5      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- Manifest.java     2001/08/01 12:56:23     1.4
  +++ Manifest.java     2001/08/25 11:49:44     1.4.2.1
  @@ -450,11 +450,6 @@
        */
       public Manifest(InputStream is) throws ManifestException, IOException {
           BufferedReader reader = new BufferedReader(new 
InputStreamReader(is));
  -        String line = reader.readLine();
  -        if (line == null) {
  -            return;
  -        }
  -        
           // This should be the manifest version
           String nextSectionName = mainSection.read(reader);
           String readManifestVersion = 
mainSection.getAttributeValue(ATTRIBUTE_MANIFEST_VERSION);
  @@ -463,6 +458,7 @@
               mainSection.removeAttribute(ATTRIBUTE_MANIFEST_VERSION);
           }
   
  +        String line = null;
           while ((line = reader.readLine()) != null) {
               if (line.length() == 0) {
                   continue;
  
  
  

Reply via email to