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-903 jpa typo
Date Mon, 22 Dec 2014 00:18:27 GMT
Repository: juddi
Updated Branches:
  refs/heads/master 5fb73fd3f -> c674214cb


JUDDI-903 jpa typo


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

Branch: refs/heads/master
Commit: c674214cb109f69b6eeef136da83cf9f3398bf06
Parents: 5fb73fd
Author: Alex <alexoree@apache.org>
Authored: Sun Dec 21 19:18:21 2014 -0500
Committer: Alex <alexoree@apache.org>
Committed: Sun Dec 21 19:18:21 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/c674214c/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
----------------------------------------------------------------------
diff --git a/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java b/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
index 6425f2b..d1e93f7 100644
--- a/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
+++ b/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
@@ -254,11 +254,11 @@ public class JUDDIApiImpl extends AuthenticatedService implements JUDDIApiPortTy
                                         }
                                 }
                                 log.info("remove all persisted AuthTokens for publisher "
+ entityKey + ".");
-                                Query q1 = em.createQuery("DELETE FROM AuthToken auth WHERE
auth.authorizedName = ?");
+                                Query q1 = em.createQuery("DELETE FROM AuthToken auth WHERE
auth.authorizedName = ?1");
                                 q1.setParameter(1, entityKey);
                                 q1.executeUpdate();
                                 log.info("remove all subscriptions for publisher " + entityKey
+ ".");
-                                q1 = em.createQuery("DELETE FROM Subscription s WHERE s.authorizedName
= ?");
+                                q1 = em.createQuery("DELETE FROM Subscription s WHERE s.authorizedName
= ?1");
                                 q1.setParameter(1, entityKey);
                                 q1.executeUpdate();
 


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


Mime
View raw message