Skip to content

Commit 8051bed

Browse files
committed
Update CheckPointSerializer.java
1 parent 17d6d8a commit 8051bed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public void write(Checkpoint object, ObjectOutput out) throws IOException {
4444
@Override
4545
public Checkpoint read(ObjectInput in) throws IOException, ClassNotFoundException {
4646
return Checkpoint.builder()
47-
.id(in.readUTF())
48-
.nodeId(readNullableUTF(in).orElse(null))
49-
.nextNodeId(readNullableUTF(in).orElse(null))
50-
.state((OverAllState) stateSerializer.read(in))
51-
.build();
47+
.id(in.readUTF())
48+
.nodeId(readNullableUTF(in).orElse(null))
49+
.nextNodeId(readNullableUTF(in).orElse(null))
50+
.state((OverAllState) stateSerializer.read(in))
51+
.build();
5252
}
5353

5454
}

0 commit comments

Comments
 (0)