juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject juddi git commit: JUDDI-970 resolved logic issue for subscription chunk validation
Date Sat, 23 Sep 2017 01:37:43 GMT
Repository: juddi
Updated Branches:
  refs/heads/master 2cf849ec6 -> a967991ae


JUDDI-970 resolved logic issue for subscription chunk validation


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/a967991a
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/a967991a
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/a967991a

Branch: refs/heads/master
Commit: a967991ae7641ba89caf4e4c7d81fe89e9e78c1e
Parents: 2cf849e
Author: Alex O'Ree <alexoree@apache.org>
Authored: Fri Sep 22 21:37:43 2017 -0400
Committer: Alex O'Ree <alexoree@apache.org>
Committed: Fri Sep 22 21:37:43 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/a967991a/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
----------------------------------------------------------------------
diff --git a/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
b/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
index d250f24..bf570f8 100644
--- a/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
+++ b/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
@@ -194,7 +194,7 @@ public class UDDISubscriptionImpl extends AuthenticatedService implements
UDDISu
 				
 				if (chunkToken == null)
 					throw new InvalidValueException(new ErrorMessage("errors.getsubscriptionresult.InvalidChunkToken",
body.getChunkToken()));
-				if (!chunkToken.getSubscriptionKey().equals(chunkToken.getSubscriptionKey()))
+				if (!chunkToken.getSubscriptionKey().equals(body.getSubscriptionKey()))
 					throw new InvalidValueException(new ErrorMessage("errors.getsubscriptionresult.NonMatchingChunkToken",
body.getChunkToken()));
 				if (chunkToken.getStartPoint() != null && chunkToken.getStartPoint().getTime()
!= startPointDate.getTime())
 					throw new InvalidValueException(new ErrorMessage("errors.getsubscriptionresult.NonMatchingChunkToken",
body.getChunkToken()));


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


Mime
View raw message