juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r906174 - in /webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi: model/UddiEntity.java query/SubscriptionQuery.java
Date Wed, 03 Feb 2010 18:57:46 GMT
Author: kstam
Date: Wed Feb  3 18:57:46 2010
New Revision: 906174

URL: http://svn.apache.org/viewvc?rev=906174&view=rev
Log:
JUDDI-341 dropping distinct. Looks like it does even make sense to have it here.

Modified:
    webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/model/UddiEntity.java
    webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/query/SubscriptionQuery.java

Modified: webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/model/UddiEntity.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/model/UddiEntity.java?rev=906174&r1=906173&r2=906174&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/model/UddiEntity.java
(original)
+++ webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/model/UddiEntity.java
Wed Feb  3 18:57:46 2010
@@ -96,7 +96,7 @@
 	
 	public int compareTo(UddiEntity o) {
 		if (o==null || o.getEntityKey()==null) return 0;
-		if (o.getEntityKey().equals(entityKey)) return 1;
+		if (o.getEntityKey().equals(getEntityKey())) return 1;
 		else return 0;
 	}
 

Modified: webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/query/SubscriptionQuery.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/query/SubscriptionQuery.java?rev=906174&r1=906173&r2=906174&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/query/SubscriptionQuery.java
(original)
+++ webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/query/SubscriptionQuery.java
Wed Feb  3 18:57:46 2010
@@ -29,7 +29,7 @@
 
 	static {
 		StringBuffer sql = new StringBuffer(200);
-		sql.append("select distinct "+ ENTITY_ALIAS + " from " + ENTITY_NAME + " " + ENTITY_ALIAS
+ " ");
+		sql.append("select "+ ENTITY_ALIAS + " from " + ENTITY_NAME + " " + ENTITY_ALIAS + " ");
 		selectSQL = sql.toString();
 	}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message