fix: make springmvc-uadetector jdk6 compatible

Since original uadetector libraray is jdk6
compatible, springmvc-uadetector can used with
jdk6.