oscerd commented on code in PR #28512:
URL: https://github.com/apache/camel/pull/28512#discussion_r4377375965


##########
components/camel-oauth/src/main/java/org/apache/camel/oauth/InMemorySession.java:
##########
@@ -34,6 +34,16 @@ public InMemorySession(String sessionId) {
         this.sessionId = sessionId;
     }
 
+    public Map<String, Object> getValues() {
+        return new HashMap<>(values);
+    }
+
+    public void putAll(Map<String, Object> newValues) {

Review Comment:
   Removed the `public` modifier from both `getValues()` and `putAll(...)` to 
make them package-private.
   
   _Claude Code on behalf of oscerd_



##########
components/camel-oauth/src/main/java/org/apache/camel/oauth/OAuth.java:
##########
@@ -98,4 +98,8 @@ public OAuthSession getOrCreateSession(Exchange exchange) {
     public OAuthSession createSession(Exchange exchange) {
         return getSessionStore().createSession(exchange);
     }
+
+    public OAuthSession rotateSession(Exchange exchange, OAuthSession session) 
{

Review Comment:
   Added Javadoc to `OAuth.rotateSession` documenting delegation to 
`OAuthSessionStore.rotateSession`.
   
   _Claude Code on behalf of oscerd_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to