Removing useless variable
Add the non regression of the generator v2 in the folder src/main/java.