Re: [netcdf-java] Minor bug in ucar.nc2.NetcdfFile

On 10/31/2011 3:23 AM, Martin Desruisseaux wrote:
Hello all

The cdm/src/main/java/ucar/nc2/NetcdfFile.java file on trunk (revision 14340) seems to have a minor bug at line 1433. The current code is:

    if (id == null)
      setId(findAttValueIgnoreCase(null, "_Id", null));
    if (title == null)
      setId(findAttValueIgnoreCase(null, "_Title", null));


I presume that the last line should be:

      setTitle(findAttValueIgnoreCase(null, "_Title", null));



    Regards,

        Martin

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

thanks Martin, ill fix that.

John



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: