1. Made checking for "if the sparkline visualization should be rendered for an entity" safer per Brian L's suggestion.
This commit is contained in:
parent
0f6c18fca1
commit
3ed20ae4fd
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@
|
||||||
throw new JspException(e);
|
throw new JspException(e);
|
||||||
} else {
|
} else {
|
||||||
for (VClass currClass : entity.getVClasses()) {
|
for (VClass currClass : entity.getVClasses()) {
|
||||||
//System.out.println(">> " + currClass.getName());
|
if ("http://xmlns.com/foaf/0.1/Person".equalsIgnoreCase(currClass.getURI())) {
|
||||||
if (currClass.getName().equalsIgnoreCase("Person")) {
|
|
||||||
displayVisualization = true;
|
displayVisualization = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue