Skip to content

Commit

Permalink
Fix parsing exception for empty projects
Browse files Browse the repository at this point in the history
  • Loading branch information
danstooamerican committed Oct 25, 2021
1 parent fa2ff42 commit a6d11ab
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public CodeRepository() {
}

private void initialize(String elementName, String sourceCode) {
if (sourceCode.isEmpty()) {
return;
}

try {
JavaProjectBuilder builder = new JavaProjectBuilder();

Expand Down

0 comments on commit a6d11ab

Please sign in to comment.