Formatting is off here, are you using tabs? The coding conventions state to only use spaces. If you are using Eclipse the formatter settings are here: https://github.com/geotools/geotools/tree/master/build/eclipse