Skip to content

k-allard/code_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code_formatter ( 🚧 in progress 🚧 )

Build:

mvn package

Run:

java -jar code_formatter-0.0.1-jar-with-dependencies.jar code_input.txt

Example:

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;
}

What was used:

  • state machine pattern
  • SOLID principles
  • Lombok
  • Maven
  • Gson
  • Slf4j
  • JUnit5
  • Checkstyle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages