Bug #2196
closedChanges to DarwinCoreDataSource.java DarwinCoreMetaDataSpecification.java
0%
Description
Multiple changes to these files needed for bug fixing and reducing dependencies
on seek classes.
Files
Updated by Kevin Ruland about 19 years ago
Changelog for DarwinCoreDataSource.java:
- Removed unused imports.
- Initialize _outputType to _ASFIELD, and removed the _NOPORTTYPE. This
simplifies the code because _outputType is now always a valid value.
- Change initial cached object (_cachedDataItem) to use
EcogridQueryDataCacheItem instead of EcogridDataCacheItem.
- Changed attributeChanged() method to use ecogrid query format instead of
digir query formats.
- Localized the _resultsetType and _records datamembers to function scope.
- Changed getInitFromData() member function to isInitFromData() which performs
the magic string compares.
- Rewrote transformResultSet() to reduce indentations and improve readibility.
- Removed unneeded function getProviderList().
- Rewrote complete() to reduce indentation and improve readibility. Removed
use of DigirJavaToEcogridJavaResultsetTranformer object because the underlying
data cache object is EcogridQueryDataCacheItem.
Changelog for DarwinCoreMetaDataSpecification.java:
- Rewrote addResultsetByProvider() to reduce indentation and improve
readibility.
- Fixed bug in addResultsetBySpecies to setSearchData field to scientificName
instead of the general search term.