Java 7 conversions

Change-Id: Ic204dbad72378455b5cd9dbd66d29dacf31ddd9c
Reviewed-on: http://gerrit.dmdirc.com/2895
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>