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:06:33 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 4d31fc4bd -> 8523430b4


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/8523430b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/8523430b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/8523430b

Branch: refs/heads/3.0.x-fixes
Commit: 8523430b419fd05dda2997666a8e9b3324d4a817
Parents: 4d31fc4
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:06:13 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/8523430b/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 cca000d..0d27b7b 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
@@ -29,7 +29,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<OAuthClientUtils.Consumer> getConsumers() {


Mime
View raw message