Fixes for bug #3418258.  Cleans up all of the 'unchecked' and 'deprecated' linter warnings.  Several of the redundant casts have been intentionally left for clarity. Set '-serial' and '-cast' linter flags to reduce the number of warnings (it should be safe to ignore serial because the end product is a jar rather than individual class files.  AFAIK, there is no performance penalty for redundant casts in Java).  If anyone objects to the linter flags they can be removed (the linter flags, that is).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4694 3789f03b-4d11-0410-bbf8-ca57d06f2519
5 files changed