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 @@ -52,18 +52,18 @@ public static void main(String[] args) {
52
52
deviceId - The ID of the device (e.g., "iPhone-112356").
53
53
""" ;
54
54
55
- // if (args.length != 7) {
56
- // logger.info(usage);
57
- // return;
58
- // }
59
-
60
- String mapName = "AWSMap200" ; // args[0];
61
- String keyName = "AWSApiKey200" ; // args[1];
62
- String collectionName = "AWSLocationCollection200" ; // args[2];
63
- String geoId = "geoId200" ; // args[3];
64
- String trackerName = "geoTracker200" ; // args[4];
65
- String calculatorName = "AWSRouteCalc200" ; // args[5];
66
- String deviceId = "iPhone-112356" ; // args[6];
55
+ if (args .length != 7 ) {
56
+ logger .info (usage );
57
+ return ;
58
+ }
59
+
60
+ String mapName = args [0 ];
61
+ String keyName = args [1 ];
62
+ String collectionName = args [2 ];
63
+ String geoId = args [3 ];
64
+ String trackerName = args [4 ];
65
+ String calculatorName = args [5 ];
66
+ String deviceId = args [6 ];
67
67
68
68
logger .info ("""
69
69
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