Skip to content

Commit

Permalink
Merge branch 'hotfix/4.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Plu committed Jan 23, 2017
2 parents 4a28dee + 7ccfeaa commit 32420ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<groupId>fr.eurecom</groupId>
<artifactId>stanfordNLPRESTAPI</artifactId>
<name>StanfordNLPRESTAPI</name>
<version>4.0.0</version>
<version>4.0.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,9 @@ private String getHost(final HttpServletRequest request) {
private void loadAllProperties() {
try {
Files.list(Paths.get("properties")).forEach(file -> {
//final StanfordNlp pipeline = new StanfordNlp(file.toString(), this.stanford);
final StanfordNlp pipeline = new StanfordNlp(file.toString(), this.stanford);

//this.pipelines.put(file.getFileName().toString().split("\\.")[0], pipeline);
this.pipelines.put(file.getFileName().toString().split("\\.")[0], pipeline);

try (FileInputStream fileInputStream = new FileInputStream(file.toString())) {
final Properties props = new Properties();
Expand Down

0 comments on commit 32420ec

Please sign in to comment.