lewismc commented on a change in pull request #6: SDAP-35 (completed the 
configuration change)
URL: 
https://github.com/apache/incubator-sdap-mudrod/pull/6#discussion_r172928135
 
 

 ##########
 File path: 
core/src/main/java/org/apache/sdap/mudrod/ontology/pre/AggregateTriples.java
 ##########
 @@ -167,17 +169,17 @@ public Element findChild(String str, Element ele) {
   public void getAllClass() throws IOException {
     List<?> classElements = rootNode.getChildren("Class", 
Namespace.getNamespace("owl", owl_namespace));
 
-    for (Object classElement1 : classElements) {
-      Element classElement = (Element) classElement1;
+    for (int i = 0; i < classElements.size(); i++) {
+      Element classElement = (Element) classElements.get(i);
       String className = classElement.getAttributeValue("about", 
Namespace.getNamespace("rdf", rdf_namespace));
 
       if (className == null) {
         className = classElement.getAttributeValue("ID", 
Namespace.getNamespace("rdf", rdf_namespace));
       }
 
       List<?> subclassElements = classElement.getChildren("subClassOf", 
Namespace.getNamespace("rdfs", rdfs_namespace));
-      for (Object subclassElement1 : subclassElements) {
-        Element subclassElement = (Element) subclassElement1;
+      for (int j = 0; j < subclassElements.size(); j++) {
 
 Review comment:
   Revert this

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to