Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
remove unnecessary IOException from StoreFactory. (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadelkhoury committed Mar 4, 2020
1 parent 307df58 commit a4521c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static Store onDisk(final Path path) throws IllegalArgumentException {
*
* @throws IOException If the SPARQL endpoint cannot be accessed.
*/
public static Store sparql(final String queryUrl, final String updateUrl) throws IOException {
public static Store sparql(final String queryUrl, final String updateUrl) {
return new SparqlStoreImpl(queryUrl, updateUrl);
}

Expand All @@ -94,7 +94,7 @@ public static Store sparql(final String queryUrl, final String updateUrl) throws
* @throws IOException If the SPARQL endpoint cannot be accessed.
*/
public static Store sparql(final String queryUrl, final String updateUrl, final String username,
final String password) throws IOException {
final String password) {
return new SparqlStoreImpl(queryUrl, updateUrl, username, password);
}

Expand Down

0 comments on commit a4521c7

Please sign in to comment.