airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1232577 - /incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Date Tue, 17 Jan 2012 21:20:46 GMT
Author: lahiru
Date: Tue Jan 17 21:20:46 2012
New Revision: 1232577

URL: http://svn.apache.org/viewvc?rev=1232577&view=rev
Log:
fixing unwanted properties from Node.

Modified:
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java?rev=1232577&r1=1232576&r2=1232577&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Tue Jan 17 21:20:46 2012
@@ -976,7 +976,9 @@ public class AiravataJCRRegistry extends
 			PropertyIterator properties = resultNode.getProperties();
 			for (;properties.hasNext();) {
 				Property nextProperty = properties.nextProperty();
-				outputNames.add(nextProperty.getName());
+                if(!"jcr:primaryType".equals(nextProperty.getName())){
+				    outputNames.add(nextProperty.getName());
+                }
 			}
 		} catch (RepositoryException e) {
 			e.printStackTrace();



Mime
View raw message