DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Clean up warnings in jdbcapi test suite, and some classes that the
jdbcapi tests depend on in the upgrade test suite.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1483202 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6207 Update policy files in java/drda/org/apache/derby/drda

Removed permission java.util.PropertyPermission "derby.storage.jvmInstanceId", "write";

which is no longer needed, plus formatting improvements.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1483215 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Fix the warnings in the remaining test packages.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1483727 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify impl/sql/catalog and impl/sql/depend.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1483911 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify impl/sql/conn package.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484498 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5610 ServerPropertiesTest prints .java.net.SocketException: Connection reset to console but test passes 



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484507 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify impl/sql/compile and impl/sql/execute.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484566 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6214 (PreparedStatement.setObject(int, Object, Types.CLOB) fail with DerbyNet)

Adding junit test to set CLOB column value using setObject and setString. The test has been disabled when updating more than one row and 
1)using setObject to set the value since it runs into closed stream error
2)using setString with large string(test works fine for smaller strings) since it runs into closed stream error



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484649 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify more classes.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484818 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Deprecate support for Java 5 and CDC

- Make ColumnDescriptorList extend ArrayList<ColumnDescriptor> instead
  of ArrayList<TupleDescriptor>

- Make ConglomerateDescriptor extend ArrayList<ConglomerateDescriptor>
  instead of ArrayList<TupleDescriptor>

- Make GenericDescriptorList extend ArrayList<UniqueTupleDescriptor>
  instead of ArrayList<TupleDescriptor>

- Change signatures of getDescriptorViaIndex() and
  getDescriptorViaHeap() so that they can take lists of more specific
  types than List<TupleDescriptor>, and so that they can return a more
  specific type than TupleDescriptor

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484821 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Stop suppressing some unchecked conversion warnings. Make the
conversions checked instead.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1484920 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Make DataValueDescriptor.setBigDecimal() take a BigDecimal instead of
a Number. The argument is always null or a BigDecimal instance, but
its declared type had to be Number in order to compile on CDC, which
is no longer supported.

By making the declared type BigDecimal, we avoid an unchecked cast to
Comparable in NumberDataType's implementation of the method.

Also remove the classes that contain the CDC-specific implementation
of the DECIMAL data type.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485076 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Remove various @SuppressWarnings annotations and adjust the code so
that the compiler doesn't complain.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485321 13f79535-47bb-0310-9956-ffa450edef68
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[]>.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485322 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify more classes.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485333 13f79535-47bb-0310-9956-ffa450edef68
DERBY-5840: Clean up compiler warnings introduced by using Java 5 language features

Make the declared type of the lock groups HashMap<Lock, Lock> instead
of HashMap<Lock, Object>.

Stop suppressing unchecked conversion warnings in
PropertyConglomerate, and make all conversions checked.