Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/main/java/com/google/adk/sessions/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/** A {@link Session} object that encapsulates the {@link State} and {@link Event}s of a session. */
@JsonDeserialize(builder = Session.Builder.class)
Expand Down Expand Up @@ -101,7 +101,7 @@ public Builder state(State state) {

@CanIgnoreReturnValue
@JsonProperty("state")
public Builder state(ConcurrentMap<String, Object> state) {
public Builder state(Map<String, Object> state) {
this.state = new State(state);
return this;
}
Expand Down Expand Up @@ -162,7 +162,7 @@ public String id() {
}

@JsonProperty("state")
public ConcurrentMap<String, Object> state() {
public Map<String, Object> state() {
return state;
}

Expand Down
Loading