File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
javav2/example_code/location/src/main/java/com/example/location/scenario Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ public static void main(String[] args) {
4343 deviceId - The ID of the device (e.g., "iPhone-112356").
4444 """ ;
4545
46- // if (args.length != 7) {
47- // logger.info(usage);
48- // return;
49- // }
50-
51- String mapName = "AWSMap101" ; // args[0];
52- String keyName = "Key101" ; // args[1];
53- String collectionName = "Collection101" ; // args[2];
54- String geoId = "geoId101" ; // args[4];
55- String trackerName = "geoTracker101" ; // args[5];
56- String calculatorName = "AWSRouteCalc101c" ; // args[6];
57- String deviceId = "iPhone-112356" ; // args[7];
46+ if (args .length != 7 ) {
47+ logger .info (usage );
48+ return ;
49+ }
50+
51+ String mapName = args [0 ];
52+ String keyName = args [1 ];
53+ String collectionName = args [2 ];
54+ String geoId = args [4 ];
55+ String trackerName = args [5 ];
56+ String calculatorName = args [6 ];
57+ String deviceId = args [7 ];
5858
5959 logger .info ("""
6060 AWS Location Service is a fully managed service offered by Amazon Web Services (AWS) that
You can’t perform that action at this time.
0 commit comments