Skip to content

Commit

Permalink
use generic config spec loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mkacct committed May 7, 2024
1 parent afc4bf9 commit 043a90a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/main/java/datasource/configspec/ConfigSpecLoader.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package datasource.configspec;

import java.io.IOException;

/**
* Loads GUI configuration specification from some source.
*/
public interface ConfigSpecLoader {
ConfigSpec loadConfigSpec() throws IOException;
ConfigSpec loadConfigSpec();
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class JsonFileConfigSpecLoaderTest {

@BeforeEach
public void setup() throws IOException {
JsonFileConfigSpecLoader loader = new JsonFileConfigSpecLoader(TEST_CONFIG_SPEC_RES_PATH);
ConfigSpecLoader loader = new JsonFileConfigSpecLoader(TEST_CONFIG_SPEC_RES_PATH);
this.configSpec = loader.loadConfigSpec();
}

Expand Down

0 comments on commit 043a90a

Please sign in to comment.