Commented out System.out lines.
This commit is contained in:
parent
d98967a7e3
commit
b3d4a305c6
1 changed files with 4 additions and 4 deletions
|
@ -85,14 +85,14 @@ public class GrefinePropertyListServlet extends VitroHttpServlet {
|
||||||
if (classPropertiesMap.size() > 0) {
|
if (classPropertiesMap.size() > 0) {
|
||||||
for (Iterator<VClass> iter = classPropertiesMap.keySet().iterator(); iter.hasNext();) { // add results to schema
|
for (Iterator<VClass> iter = classPropertiesMap.keySet().iterator(); iter.hasNext();) { // add results to schema
|
||||||
VClass vc = (VClass) iter.next();
|
VClass vc = (VClass) iter.next();
|
||||||
System.out.println("vc uri: " + vc.getURI());
|
//System.out.println("vc uri: " + vc.getURI());
|
||||||
System.out.println("vc name: " + vc.getName());
|
//System.out.println("vc name: " + vc.getName());
|
||||||
|
|
||||||
ArrayList<DataProperty> vcProps = (ArrayList<DataProperty>)classPropertiesMap.get(vc);
|
ArrayList<DataProperty> vcProps = (ArrayList<DataProperty>)classPropertiesMap.get(vc);
|
||||||
for (DataProperty prop: vcProps) {
|
for (DataProperty prop: vcProps) {
|
||||||
String nameStr = prop.getPublicName()==null ? prop.getName()==null ? null : prop.getName() : prop.getPublicName();
|
String nameStr = prop.getPublicName()==null ? prop.getName()==null ? null : prop.getName() : prop.getPublicName();
|
||||||
System.out.println("--- uri: " + prop.getURI());
|
//System.out.println("--- uri: " + prop.getURI());
|
||||||
System.out.println("--- name: " + nameStr);
|
//System.out.println("--- name: " + nameStr);
|
||||||
// top level
|
// top level
|
||||||
JSONObject propertiesItemJson = new JSONObject();
|
JSONObject propertiesItemJson = new JSONObject();
|
||||||
JSONObject rootSchemaJson = new JSONObject();
|
JSONObject rootSchemaJson = new JSONObject();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue