mvn package
java -jar code_formatter-0.0.1-jar-with-dependencies.jar code_input.txt
if (boo == null){ return 1;}
else if
(boo == 1) { return 2; }
else
{ for (boo = 0; boo > 10; boo += 8)
{
boo -= 1; }
return 4;
}
--->
if (boo == null) {
return 1;
}
else if (boo == 1) {
return 2;
}
else {
for (boo = 0; boo > 10; boo += 8) {
boo -= 1;
}
return 4;
}
- state machine pattern
- SOLID principles
- Lombok
- Maven
- Gson
- Slf4j
- JUnit5
- Checkstyle