Skip to content

Commit c0f555c

Browse files
authored
fix(graph): fix CheckPointSerializer write read BUG (alibaba#2403)
1 parent 1c5ba79 commit c0f555c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-alibaba-graph-core/src/main/java/com/alibaba/cloud/ai/graph/serializer/check_point/CheckPointSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public void write(Checkpoint object, ObjectOutput out) throws IOException {
4545
public Checkpoint read(ObjectInput in) throws IOException, ClassNotFoundException {
4646
return Checkpoint.builder()
4747
.id(in.readUTF())
48-
.nextNodeId(readNullableUTF(in).orElse(null))
4948
.nodeId(readNullableUTF(in).orElse(null))
49+
.nextNodeId(readNullableUTF(in).orElse(null))
5050
.state((OverAllState) stateSerializer.read(in))
5151
.build();
5252
}

0 commit comments

Comments
 (0)