Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7b3acd

Browse files
committed
Update the path of settings file.
1 parent 8f7fa11 commit d7b3acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/tinystruct/data/component/AbstractData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public AbstractData() {
100100
* @throws ApplicationException If the repository cannot be initialized.
101101
*/
102102
private static Repository initializeRepository() throws ApplicationException {
103-
Configuration<String> properties = new Settings("/application.properties");
103+
Configuration<String> properties = new Settings();
104104
String driver = properties.get("driver");
105105

106106
if (driver == null || driver.trim().isEmpty()) {

0 commit comments

Comments
 (0)