@@ -155,7 +155,7 @@ import com.azure.maps.search.MapsSearchClient;
155
155
import com.azure.maps.search.MapsSearchClientBuilder;
156
156
157
157
public class Demo {
158
- public static void main(String\[\ ] args) {
158
+ public static void main( String[ ] args) {
159
159
MapsSearchClientBuilder builder = new MapsSearchClientBuilder();
160
160
DefaultAzureCredential tokenCredential = new DefaultAzureCredentialBuilder().build();
161
161
builder.credential(tokenCredential);
@@ -187,7 +187,7 @@ import com.azure.maps.search.MapsSearchClient;
187
187
import com.azure.maps.search.MapsSearchClientBuilder ;
188
188
189
189
public class Demo {
190
- public static void main (String \[\ ] args ) {
190
+ public static void main ( String [ ] args ) {
191
191
192
192
// Use Azure Maps subscription key authentication
193
193
MapsSearchClientBuilder builder = new MapsSearchClientBuilder ();
@@ -216,7 +216,7 @@ import com.azure.maps.search.models.SearchAddressResult;
216
216
import com.azure.maps.search.models.SearchAddressResultItem ;
217
217
218
218
public class Demo {
219
- public static void main (String \[\ ] args ) throws IOException {
219
+ public static void main ( String [ ] args ) throws IOException {
220
220
MapsSearchClientBuilder builder = new MapsSearchClientBuilder ();
221
221
222
222
// Instantiate with key credential. Get SUBSCRIPTION_KEY from environment variable:
@@ -309,7 +309,7 @@ import com.azure.maps.search.models.SearchAddressResult;
309
309
import com.azure.maps.search.models.SearchAddressResultItem ;
310
310
311
311
public class Demo {
312
- public static void main (String \[\ ] args ) throws IOException {
312
+ public static void main ( String [ ] args ) throws IOException {
313
313
MapsSearchClientBuilder builder = new MapsSearchClientBuilder ();
314
314
315
315
// Instantiate with key credential:
@@ -362,7 +362,7 @@ import com.azure.maps.search.models.ReverseSearchAddressOptions;
362
362
import com.azure.maps.search.models.ReverseSearchAddressResultItem ;
363
363
364
364
public class Demo {
365
- public static void main (String \[\ ] args ) throws IOException {
365
+ public static void main ( String [ ] args ) throws IOException {
366
366
MapsSearchClientBuilder builder = new MapsSearchClientBuilder ();
367
367
368
368
// Instantiate with key credential:
0 commit comments