Fix miscellaneous compiler warnings

Remove unused imports, remove unused local variables, parameterize
generic types, suppress warnings.

Change-Id: I8e4867d9a03ff774c1f8e04ff9853b0afb676e69
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2011-11-03 08:54:22 +01:00
parent 0d957de5d3
commit 0009ace932
13 changed files with 12 additions and 28 deletions

View File

@@ -99,7 +99,6 @@ class WebSessionManager {
// If we don't yet have a token for this session, establish one.
//
final int nonceLen = 20;
final ByteArrayOutputStream buf;
final byte[] rnd = new byte[nonceLen];
prng.nextBytes(rnd);
xsrfToken = CookieBase64.encode(rnd);