We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb88e2f commit cba0710Copy full SHA for cba0710
spring-ai-core/src/main/java/org/springframework/ai/image/ImageResponseMetadata.java
@@ -16,9 +16,6 @@
16
package org.springframework.ai.image;
17
18
import org.springframework.ai.model.MutableResponseMetadata;
19
-import org.springframework.ai.model.ResponseMetadata;
20
-
21
-import java.util.HashMap;
22
23
/**
24
* Represents metadata associated with an image response. It provides additional
@@ -31,10 +28,10 @@
31
28
*/
32
29
public class ImageResponseMetadata extends MutableResponseMetadata {
33
30
34
- private Long created;
+ private final Long created;
35
36
public ImageResponseMetadata() {
37
- this.created = System.currentTimeMillis();
+ this(System.currentTimeMillis());
38
}
39
40
public ImageResponseMetadata(Long created) {
0 commit comments