Changed output of dump() method defined in BaseTemplateModel class
This commit is contained in:
parent
57cbc5f1e0
commit
c923bf7ba7
2 changed files with 2 additions and 1 deletions
|
@ -255,6 +255,7 @@ public class IndividualController extends FreemarkerHttpServlet {
|
|||
//data.put("vclassName", vclassName);
|
||||
|
||||
// RY We should not have references to a specific ontology in the vitro code!
|
||||
// Figure out how to move this out of here.
|
||||
boolean isPerson = individual.isVClass("http://xmlns.com/foaf/0.1/Person");
|
||||
map.put("isPerson", isPerson);
|
||||
if (isPerson) {
|
||||
|
|
|
@ -53,7 +53,7 @@ public abstract class BaseTemplateModel {
|
|||
}
|
||||
|
||||
public String dump() {
|
||||
return "I'm a BaseTemplateModel object";
|
||||
return toString(); // fallback when subclass doesn't define a class-specific dump()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue