File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/java/com/qcloud/cos/model/ciModel/template Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.qcloud</groupId >
66 <artifactId >cos_api</artifactId >
7- <version >5.6.233 </version >
7+ <version >5.6.235 </version >
88 <packaging >jar</packaging >
99 <name >cos-java-sdk</name >
1010 <description >java sdk for qcloud cos</description >
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ public void setVideo(MediaVideoObject video) {
6161 }
6262
6363 public MediaTimeIntervalObject getTimeInterval () {
64+ if (timeInterval == null ) {
65+ timeInterval = new MediaTimeIntervalObject ();
66+ }
6467 return timeInterval ;
6568 }
6669
@@ -69,6 +72,9 @@ public void setTimeInterval(MediaTimeIntervalObject timeInterval) {
6972 }
7073
7174 public MediaSnapshotObject getSnapshot () {
75+ if (snapshot == null ) {
76+ snapshot = new MediaSnapshotObject ();
77+ }
7278 return snapshot ;
7379 }
7480
You can’t perform that action at this time.
0 commit comments