cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: One more Consumers constructor
Date Fri, 01 May 2015 13:05:43 GMT
Repository: cxf
Updated Branches:
  refs/heads/master ce6444508 -> d25e4c94c


One more Consumers constructor


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

Branch: refs/heads/master
Commit: d25e4c94c518cb79af1e05a32fb8ded52a951324
Parents: ce64445
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri May 1 14:05:26 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri May 1 14:05:26 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/rs/security/oauth2/client/Consumers.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d25e4c94/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/Consumers.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/Consumers.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/Consumers.java
index 544cc8d..1e28de7 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/Consumers.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/Consumers.java
@@ -28,7 +28,10 @@ public class Consumers {
         
     }
     public Consumers(Consumers consumers) {
-        this.consumers = consumers.getConsumers();
+        this(consumers.getConsumers());
+    }
+    public Consumers(Set<Consumer> consumers) {
+        this.consumers = consumers;
     }
 
     public Set<Consumer> getConsumers() {


Mime
View raw message