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.

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

- Make ArrayUtil.asReadOnlyList() use checked conversions and remove
  SuppressWarnings annotation

- Generify the signature of ArrayUtil.copy(Object[]), remove the now
  redundant copy(String[]) overload, and remove the now redundant
  casts in many of the call sites

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485676 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify remaining classes needed to remove lint warnings in Derby build.

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

Fix warning in DDUtils by using Hashtable's constructor instead of
clone() for type-safety.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485827 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6225 SecureServerTest assertion error on contents of stdout from subprocess

Patch changing the order of

a) the waiting for the process to finish
   starting and
b) read its standard output.

This is done to avoid a race condition in which we read the output
before it has been printed by the subprocess.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1485936 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6148 Wrong sort elimination when using permuted sort order

Patch derby-6148-3. Adds lacking use of join order index map into
optimizableList in method OrderByList#sortRequired. Also adds
regression tests for previously failing (and a some good) queries.

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

Generify CollectNodesVisitor so that the SuppressWarnings annotation
on its visit() method can be removed.

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

Fix compiler warning in CursorNode.init() by changing parameter from
List<String> to String[] so that the cast from Object can be checked.

Fix compiler warning in TriggerEventActivator by using a List instead
of an array to store generic types.

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

Fix unchecked warning in GroupedAggregateResultSet by changing the type
of the distinctValues field from HashSet[][] to List<List<Set<String>>>.

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

Tell JavaCC to generate Java 5 code for the parsers. This change
silences the warnings previously seen when compiling the parsers, so
it also removes the build target that post-processes the parsers and
inserts @SuppressWarnings annotations.

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

Use ArrayList's constructor instead of Object.clone() to create a copy of
a list in a type-safe way.

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

Remove SuppressWarnings annotation in DiskHashtable and use strongly
typed variables instead of an overloaded Object variable to prevent
the warnings.

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

Remove the @SuppressWarnings("unchecked") annotation from
BackingStoreHashtable and introduce a specialized sub-class of
ArrayList to make the casts type safe.

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

Store lists of implementation classes in a list instead of an array,
since arrays cannot have generic types. This silences an unchecked
conversion warning and allows us to remove a SuppressWarnings
annotation.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1486826 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Collapse the embedded DataSources into their Java 6 base classes.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1486921 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Cleanup published javadoc for the Derby DataSources now that we have removed support for Java 5 and CDC.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1486949 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Remove java15compile.classpath build variable and the JDBC 3 and JSR 169 stubs.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487040 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Generify the Felix stubs in order to remove a lint diagnostic at build time.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487051 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Convert 1.4 and 1.5 to 1.6 in source/target clauses of compilation tasks.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487133 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6213: Remove SimpleMobileApp.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1487461 13f79535-47bb-0310-9956-ffa450edef68