Skip to content

Commit

Permalink
Add "deprecated" to NetcdfDataset cache name to differentiate from th…
Browse files Browse the repository at this point in the history
…e NetcdfDatasets cache
  • Loading branch information
tdrwenski authored and haileyajohnson committed Sep 28, 2022
1 parent 6451aba commit 44dac53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdm/core/src/main/java/ucar/nc2/dataset/NetcdfDataset.java
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ public static synchronized void initNetcdfFileCache(int minElementsInMemory, int
@Deprecated
public static synchronized void initNetcdfFileCache(int minElementsInMemory, int maxElementsInMemory, int hardLimit,
int period) {
netcdfFileCache = new ucar.nc2.util.cache.FileCache("NetcdfFileCache ", minElementsInMemory, maxElementsInMemory,
hardLimit, period);
netcdfFileCache = new ucar.nc2.util.cache.FileCache("NetcdfFileCache (deprecated)", minElementsInMemory,
maxElementsInMemory, hardLimit, period);
}

/** @deprecated use NetcdfDatasets.disableNetcdfFileCache */
Expand Down

0 comments on commit 44dac53

Please sign in to comment.