[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Depracated warning message

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: Depracated warning message
  • Date: Wed, 16 Mar 2005 10:36:03 -0700

aruba wrote:

Hello,

I'm using the NetCDF library (v2.2.08) but when I compile my project I have a 
warning message telling me that the create() method from 
ucar.nc2.NetcdfFileWriteable is now deprecated.
I am surprised since it is not the case in the online documentation and since 
it does not seem possible to avoid this create method.
|Just the default constructor is deprecated, use |NetcdfFileWriteable(String filename)

From the javadoc:

||

|NetcdfFileWriteable <cid:part1.03060502.07070309@unidata.ucar.edu>()|

Deprecated. use NetcdfFileWriteable(String filename) or NetcdfFileWriteable(String filename, boolean fill)