gluegen: remove unneeded casts to TNode

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: annotate Hastable of attributes as Hashtable<String, Object>

- use copy-constructor rather than clone to suppress type warnings
- annotate a Class as Class<?>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: remove redundant assignment of tmpBaseDir

- can only be null here, remove the entire else condition

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: remove redundant test for null relativePath

We are inside a block where relativePath must be non-null, remove the redundant check

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: remove implied use of StringBuffer while appending to StringBuilder

- call append on the StringBuilder we are using rather than using String concatenation, which
uses StringBuffer.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
gluegen: remove unneeded casts to JarEntry

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>