Bug #2196
closed
Changes to DarwinCoreDataSource.java DarwinCoreMetaDataSpecification.java
Added by Kevin Ruland about 19 years ago.
Updated about 19 years ago.
Description
Multiple changes to these files needed for bug fixing and reducing dependencies
on seek classes.
Files
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.
kruland committed these changes.
Original Bugzilla ID was 2196
Also available in: Atom
PDF