Compilation errors under 1.5 java fixed. Added animal-sniffer plugin to validate method calls.