|
17 | 17 | import java.util.ArrayList; |
18 | 18 | import java.util.Collection; |
19 | 19 | import java.util.Collections; |
| 20 | +import java.util.List; |
20 | 21 | import org.sensorhub.api.common.BigId; |
21 | 22 | import org.sensorhub.utils.ObjectUtils; |
22 | 23 | import org.vast.ogc.xlink.IXlinkReference; |
23 | 24 | import org.vast.util.Asserts; |
24 | | -import com.google.common.collect.ImmutableList; |
25 | 25 | import net.opengis.swe.v20.DataBlock; |
26 | 26 |
|
27 | 27 |
|
@@ -57,7 +57,7 @@ public static ICommandResult withDatastream(BigId dataStreamID) |
57 | 57 | Asserts.checkNotNull(dataStreamID, BigId.class); |
58 | 58 |
|
59 | 59 | var res = new CommandResult(); |
60 | | - res.dsIDs = ImmutableList.of(dataStreamID); |
| 60 | + res.dsIDs = List.of(dataStreamID); |
61 | 61 | return res; |
62 | 62 | } |
63 | 63 |
|
@@ -88,7 +88,7 @@ public static ICommandResult withObservation(BigId obsID) |
88 | 88 | Asserts.checkNotNull(obsID, BigId.class); |
89 | 89 |
|
90 | 90 | var res = new CommandResult(); |
91 | | - res.obsIDs = ImmutableList.of(obsID); |
| 91 | + res.obsIDs = List.of(obsID); |
92 | 92 | return res; |
93 | 93 | } |
94 | 94 |
|
@@ -119,7 +119,7 @@ public static ICommandResult withData(DataBlock data) |
119 | 119 | Asserts.checkNotNull(data, DataBlock.class); |
120 | 120 |
|
121 | 121 | var res = new CommandResult(); |
122 | | - res.inlineRecords = ImmutableList.of(data); |
| 122 | + res.inlineRecords = List.of(data); |
123 | 123 | return res; |
124 | 124 | } |
125 | 125 |
|
|
0 commit comments