Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed Aug 24, 2018
1 parent 1d28701 commit 0a8ec5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,11 @@ public String getDataLocation(String dataid) {
this.start_read();
KBObject locprop = this.kb.getProperty(this.dcns + "hasLocation");
KBObject dobj = this.kb.getIndividual(dataid);
if(dobj == null)
return null;

KBObject locobj = this.kb.getPropertyValue(dobj, locprop);
if (locobj != null && locobj.getValue() != null)
return locobj.getValueAsString();
if(dobj != null) {
KBObject locobj = this.kb.getPropertyValue(dobj, locprop);
if (locobj != null && locobj.getValue() != null)
return locobj.getValueAsString();
}
else {
String location = this.getDefaultDataLocation(dataid);
File f = new File(location);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class PPlan extends URIEntity
private static final long serialVersionUID = 1L;

transient Properties props;
OntFactory ontologyFactory;
transient OntFactory ontologyFactory;
boolean incomplete;

TransactionsJena transaction;
transient TransactionsJena transaction;

ArrayList<ExecutionStep> steps;

Expand Down

0 comments on commit 0a8ec5a

Please sign in to comment.