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.
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.
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.