Skip to content

Commit c3dfb57

Browse files
committed
ConfigureApplication: add JavaDoc
1 parent 7e91022 commit c3dfb57

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/lombok/org/heigit/ohsome/ohsomeapi/utils/ConfigureApplication.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
import org.heigit.ohsome.oshdb.util.tagtranslator.CachedTagTranslator;
1515
import org.springframework.boot.ApplicationArguments;
1616

17+
/**
18+
* Utility Class for parsing and configuration the ohsome API application.
19+
*/
1720
public class ConfigureApplication {
1821

1922
private enum DatabaseType {
@@ -87,7 +90,10 @@ private ConfigureApplication(ApplicationArguments args) {
8790
}
8891
}
8992

90-
// refactor remainder back to Application.java
93+
/**
94+
* Method run by the Application class to parse incoming command line arguments
95+
* @param args ApplicationArguments from spring to be parsed.
96+
*/
9197
public static void parseArguments(ApplicationArguments args)
9298
throws OSHDBKeytablesNotFoundException, IOException {
9399
var config = new ConfigureApplication(args);

0 commit comments

Comments
 (0)