Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarijo committed Feb 27, 2018
2 parents 4d7a812 + b6c65ec commit cd4fe72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 8 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@
<name>Widoco</name>



<properties>
<ver.log4j>1.2.16</ver.log4j>
<project.build.sourceEncoding>CP1252</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<java.version>1.8</java.version>
<jena.version>2.11.1</jena.version>
<jena-sdb.version>1.3.6</jena-sdb.version>
<jena-tdb.version>0.10.1</jena-tdb.version>
<jena-iri.version>0.9.6</jena-iri.version>
<jena-fuseki.version>0.2.7</jena-fuseki.version>
<java.version>1.8</java.version>
<jena.version>2.11.1</jena.version>
<jena-sdb.version>1.3.6</jena-sdb.version>
<jena-tdb.version>0.10.1</jena-tdb.version>
<jena-iri.version>0.9.6</jena-iri.version>
<jena-fuseki.version>0.2.7</jena-fuseki.version>

<!-- -->
</properties>
Expand Down
6 changes: 1 addition & 5 deletions src/main/java/widoco/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ private void completeMetadata(OWLAnnotation a){
License l = new License();
if(isURL(value)){
l.setUrl(value);
l.setName(value);
}else{
l.setName(value);
}
Expand Down Expand Up @@ -540,12 +541,7 @@ private void completeMetadata(OWLAnnotation a){
break;
case Constants.PROP_BIBO_STATUS:
try{
valueLanguage = a.getValue().asLiteral().get().getLang();
value = a.getValue().asLiteral().get().getLiteral();
if(this.currentLanguage.equals(valueLanguage)||
(abstractSection==null || "".equals(abstractSection))){
abstractSection = value;
}
mainOntologyMetadata.setStatus(value);
}catch(Exception e){
System.err.println("Error while getting the status. No literal provided");
Expand Down

0 comments on commit cd4fe72

Please sign in to comment.