[
https://issues.apache.org/jira/browse/AMBARI-26673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvind Kandpal updated AMBARI-26673:
------------------------------------
Description:
The file StackAdvisorCommand.java has a few typos in Javadoc comments.
File:
ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
Changes needed:
1. Javadoc of populateAmbariConfiguration() says "service.json", it should be
"services.json".
2. Same javadoc says "if exists", it should be "if it exists".
3. Javadoc of getResultFileName() has an extra space before the full stop after
"validations.json".
Note: The "occured" typos in this file were already fixed in AMBARI-26672.
These are comment-only changes. No logic is changed.
was:
The file StackAdvisorCommand.java has a few typos in error messages and
comments.
File:
ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
Changes needed:
1. "occured" should be "occurred" in 5 error messages (lines 364, 450, 475,
517, 532).
2. Javadoc of populateAmbariConfiguration() says "service.json", it should be
"services.json".
3. Same javadoc says "if exists", it should be "if it exists".
4. Javadoc of getResultFileName() has an extra space before the full stop after
"validations.json".
These are text-only changes. No logic is changed. No existing test checks these
message strings.
> Fix typos in StackAdvisorCommand.java
> -------------------------------------
>
> Key: AMBARI-26673
> URL: https://issues.apache.org/jira/browse/AMBARI-26673
> Project: Ambari
> Issue Type: Bug
> Reporter: Arvind Kandpal
> Assignee: Arvind Kandpal
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The file StackAdvisorCommand.java has a few typos in Javadoc comments.
> File:
> ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
> Changes needed:
> 1. Javadoc of populateAmbariConfiguration() says "service.json", it should be
> "services.json".
> 2. Same javadoc says "if exists", it should be "if it exists".
> 3. Javadoc of getResultFileName() has an extra space before the full stop
> after "validations.json".
> Note: The "occured" typos in this file were already fixed in AMBARI-26672.
> These are comment-only changes. No logic is changed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]