Skip to content

Commit cf6cf56

Browse files
committed
Release 1.22.0
1 parent ddc72c7 commit cf6cf56

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services: Compute
33
platforms: java
4-
author: selvasingh
4+
author: yaohaizh
55
---
66

77
## Getting Started with Compute - List Virtual Machine Images - in Java ##
@@ -16,7 +16,7 @@ author: selvasingh
1616

1717
To run this sample:
1818

19-
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-sdk-for-java/blob/master/AUTH.md).
19+
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).
2020

2121
git clone https://github.com/Azure-Samples/compute-java-list-vm-images.git
2222

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>com.microsoft.azure</groupId>
5555
<artifactId>azure</artifactId>
56-
<version>1.16.0</version>
56+
<version>1.22.0</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>commons-net</groupId>

src/main/java/com/microsoft/azure/management/compute/samples/ListVirtualMachineImages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static boolean runSample(Azure azure) {
5656
System.out.println("Publisher - " + publisher.name());
5757

5858
if (publisher.name().equalsIgnoreCase("Canonical")
59-
| publisher.name().equalsIgnoreCase("Suse")
60-
| publisher.name().equalsIgnoreCase("RedHat")) {
59+
|| publisher.name().equalsIgnoreCase("Suse")
60+
|| publisher.name().equalsIgnoreCase("RedHat")) {
6161

6262
chosenPublisher = publisher;
6363
System.out.print("\n\n");

0 commit comments

Comments
 (0)