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

Fix javadoc errors and add explicit constructors #17077

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

keithc-ca
Copy link
Contributor

@keithc-ca keithc-ca commented Mar 30, 2023

Comment on lines +37 to +39
private ContextFactory() {
/* no instances needed */
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This class was internal until #17064; the class only has static features so instances are not required.

@keithc-ca
Copy link
Contributor Author

* @return the context
*/
public static IDTFJContext getContext(final int major, final int minor,final Image image, final ImageAddressSpace space, final ImageProcess proc, final JavaRuntime rt) {
DTFJContext ctx = new DTFJContext(major, minor, image, space, proc, rt);
public static IDTFJContext getContext(final int major, final int minor,final Image image, final ImageAddressSpace space, final ImageProcess process, final JavaRuntime runtime) {
Copy link
Member

Choose a reason for hiding this comment

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

@param image is missing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I'll fix that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 05fa502.

Copy link
Member

@JasonFengJ9 JasonFengJ9 left a comment

Choose a reason for hiding this comment

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

LGTM

@pshipton
Copy link
Member

Pls fix the commit title to indicate constructors are also updated.

* add missing @param

Signed-off-by: Keith W. Campbell <[email protected]>
@keithc-ca keithc-ca changed the title Fix javadoc errors Fix javadoc errors and add explicit constructors Mar 31, 2023
@keithc-ca
Copy link
Contributor Author

Now the commit title and the headline here mention the constructors.

@pshipton pshipton merged commit 511fc3d into eclipse-openj9:master Mar 31, 2023
@pshipton
Copy link
Member

Pls cherry pick for 0.38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants