recently,I found that in some projects they really like to add final keyword in the method parameters like:
public static String getSuffix(final String fileName) {
if (fileName.indexOf('.') >= 0) {
return fileName.substring(fileName.lastIndexOf('.'));
}
return EMTPY_STRING;
}
public HttpResult(final int statusCode) {
this.statusCode = statusCode;
}