Skip to content

Commit

Permalink
check style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anuchandy committed Oct 20, 2016
1 parent bfe0f2e commit 496a4cc
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* - Capture the virtual machine to get a captured image
* - Create a second virtual machine using the captured image
* - Delete the second virtual machine
* - Create a new virtual machine by attaching OS disk of deleted VM to it
* - Create a new virtual machine by attaching OS disk of deleted VM to it.
*/
public class VirtualMachinesFromCustomImageAndSpecializedVHD {
public final class VirtualMachinesFromCustomImageAndSpecializedVHD {
/**
* Main entry point.
* @param args the parameters
Expand Down Expand Up @@ -139,9 +139,9 @@ public static void main(String[] args) {
//=============================================================
// Create a Linux VM using 'specialized VHD' of previous VM

System.out.println("Creating a new Linux VM by attaching OS Disk vhd - " +
specializedVhd +
" of deleted VM");
System.out.println("Creating a new Linux VM by attaching OS Disk vhd - "
+ specializedVhd
+ " of deleted VM");

VirtualMachine linuxVM3 = azure.virtualMachines().define(linuxVmName3)
.withRegion(Region.US_EAST)
Expand Down Expand Up @@ -196,7 +196,7 @@ private static String extractCapturedImageUri(String capturedResultJson) {
}

String imageUri = null;
for(JsonNode resourceNode : resourcesNode) {
for (JsonNode resourceNode : resourcesNode) {
JsonNode propertiesNodes = resourceNode.path("properties");
if (!(propertiesNodes instanceof MissingNode)) {
JsonNode storageProfileNode = propertiesNodes.path("storageProfile");
Expand Down

0 comments on commit 496a4cc

Please sign in to comment.