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:
cdtank 2010-10-01 17:42:31 +00:00
parent 0f6c18fca1
commit 3ed20ae4fd

View file

@ -35,8 +35,7 @@
throw new JspException(e);
} else {
for (VClass currClass : entity.getVClasses()) {
//System.out.println(">> " + currClass.getName());
if (currClass.getName().equalsIgnoreCase("Person")) {
if ("http://xmlns.com/foaf/0.1/Person".equalsIgnoreCase(currClass.getURI())) {
displayVisualization = true;
break;
}