Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random features and bug fixes #1939

Merged
merged 11 commits into from
Oct 6, 2017
Merged

Random features and bug fixes #1939

merged 11 commits into from
Oct 6, 2017

Conversation

@anuchandy anuchandy changed the title VMSS Boot Diagnostics support Random features and bug fixes Oct 5, 2017
Copy link

@martinsawicki martinsawicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline suggestion to also use Javadoc's @deprecated with a helpful comment

@@ -16,8 +16,10 @@
/** Windows Server 2012 R2 Data center. */
WINDOWS_SERVER_2012_R2_DATACENTER("MicrosoftWindowsServer", "WindowsServer", "2012-R2-Datacenter"),
/** Windows Server 2016 technical preview with container support. */
@Deprecated

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in addition to the annotation, we can also put in a Javadoc tag @deprecated and say what to do instead (e.g. see ApplicationGatewayBackendHttpConfiguration.java)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, please review.

…tualMachineImage and KnownWindowsVirtualMachineImage
/** OpenSUSE-Leap 42.1. */
/**
* OpenSUSE-Leap 42.1.
* @deprecated use withLatestLinuxImage("SUSE", "openSUSE-Leap", "42.3") instead.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I used the method name without # in the Javadoc, i got a warning in Eclipse. Does javadocs still resolve this reference properly when no # is used? (in other words: #withLatestLinuxImage(...))

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!, updated PR so that these references resolve properly.

@martinsawicki martinsawicki merged commit 03a54c7 into Azure:master Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants