mark length final for #31
fix #31
switch to Java 7 #32
use Java 7 #32
fix #27
fix #26
new Java 7 features #32