/[Apache-SVN]
ViewVC logotype

Revision 1485322


Jump to revision: Previous Next
Author: kahatlen
Date: Wed May 22 18:30:41 2013 UTC (10 years, 11 months ago)
Changed paths: 5
Log Message:
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Refactor ClassSizeCatalog to prevent unchecked conversion warnings when
ClassSize creates an instance via reflection and casts the result to
Hashtable<String, int[]>.

Introduce a new abstract ClassSizeCatalog class and rename the generated
class to ClassSizeCatalogImpl, which extends ClassSizeCatalog. ClassSize
can now access the catalog via the abstract class instead of casting it
unchecked to Hashtable<String, int[]>.

Changed paths

Path Details
Directorydb/derby/code/trunk/build.xml modified , text changed
Directorydb/derby/code/trunk/java/build/org/apache/derbyBuild/ClassSizeCrawler.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/iapi/services/cache/ClassSize.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/iapi/services/cache/ClassSizeCatalog.java added
Directorydb/derby/code/trunk/tools/jar/extraDBMSclasses.properties modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26