Skip to content

Commit

Permalink
Removed unused sparqlPrefixes loading in ServiceConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAgate committed Apr 27, 2018
1 parent f9b0d2e commit 25f7b13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/io/bdrc/ldspdi/service/ServiceConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ public static void initForTests() {
try {
InputStream input = ServiceConfig.class.getClassLoader().getResourceAsStream("ldspdi.properties");
// load a properties file
prop.load(input);
sparqlPrefixes=new String(Files.readAllBytes(Paths.get(params.get(QueryConstants.QUERY_PATH)+"public/prefixes.txt")));
prop.load(input);
String mimes=prop.getProperty("mime");
StringTokenizer st=new StringTokenizer(mimes,",");
while(st.hasMoreTokens()){
Expand Down

0 comments on commit 25f7b13

Please sign in to comment.