You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/05/01 15:05:43 UTC
cxf git commit: One more Consumers constructor
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 <sb...@talend.com>
Authored: Fri May 1 14:05:26 2015 +0100
Committer: Sergey Beryozkin <sb...@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() {