Skip to content

Commit

Permalink
cast value type
Browse files Browse the repository at this point in the history
  • Loading branch information
cuent committed Nov 8, 2017
1 parent 28cc05b commit 8aa2947
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<maven.compiler.target>1.7</maven.compiler.target>
<json.path.version>2.4.0</json.path.version>
<marmotta.version>3.3.0</marmotta.version>
<github.maven.repository>file:///home/cuent/NetBeansProjects/ldclient-provider-json</github.maven.repository>
</properties>
<dependencies>
<dependency>
Expand All @@ -40,11 +39,4 @@
<version>${json.path.version}</version>
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>maven-repository</id>
<url>${github.maven.repository}</url>
</repository>
</distributionManagement>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public JsonPathURIMapper(String path, Predicate... filters) {

@Override
public List<Value> map(String resourceUri, String selectedValue, ValueFactory factory) {
return Collections.singletonList(factory.createURI(selectedValue));
return Collections.singletonList((Value) factory.createURI(selectedValue));
}

}

0 comments on commit 8aa2947

Please sign in to comment.