File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
javav2/example_code/location/src
main/java/com/example/location/scenario Expand file tree Collapse file tree 2 files changed +13
-13
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 = "MyMap43" ; // args[0];
52- String keyName = "MyLocationKey43" ; // args[1];
53- String collectionName = "AWSLocationCollection43" ; // args[2];
54- String geoId = "geoId43" ; // args[4];
55- String trackerName = "geoTracker43" ; // args[5];
56- String calculatorName = "AWSRouteCalc43" ; // args[6];
57- String deviceId = "iPhone-112359" ; // 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
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public void testCalcDistance() {
178178 }
179179
180180 @ Tag ("IntegrationTest" )
181- @ Order (11 )
181+ @ Order (12 )
182182 public void testGeoPlaces () {
183183
184184 assertDoesNotThrow (() -> {
You can’t perform that action at this time.
0 commit comments