Skip to content

Conversation

@iSazonov
Copy link
Collaborator

PR Summary

Please review commit by commit.

  • The PR only remove empty public comment XML lines. Please don't request other changes.
  • The changes were made in Notepad++ by regex.
  • Some files (~3) was edited manually.
  • Files (~10) with single changes
/// <summary>
///
/// </summary>

with

/// <summary>
/// </summary>

was reverted because there is no benefits.

PR Checklist

Copy link
Member

@SteveL-MSFT SteveL-MSFT left a comment

Choose a reason for hiding this comment

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

I spent a bit of time up through the 4th commit. My main feedback is that where there is content between xml tags, it seems we should preserve the whitespace as it makes reading the comment easier. I'm ok with removing the whitespace between different xml tags.

/// can subsequently use to create one or more CimSession connections. The
/// options object holds the CIM Session information that is less commonly set
/// and used by the IT Pro, and most commonly defaulted.
///
Copy link
Member

Choose a reason for hiding this comment

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

It seems that this line makes it more readable as there's two paragraphs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There are many such places. Since I used automatic replacement, it is really impossible to fix it everywhere.

Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to craft a regex so that if the content of the last newline doesn't end with > then keep the whitespace?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I close the PR and open new one #7401 with the new regex.

/// MshManagementMshSnapin (or MshManagementMshSnapinInstaller) is a class for facilitating registry
/// of necessary information for monad management mshsnapin.
///
/// This class will be built with monad management dll
Copy link
Member

Choose a reason for hiding this comment

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

We should just remove this line, doesn't add value

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed.

/// MshUtilityMshSnapin (or MshUtilityMshSnapinInstaller) is a class for facilitating registry
/// of necessary information for monad utility mshsnapin.
///
/// This class will be built with monad utility dll
Copy link
Member

Choose a reason for hiding this comment

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

Remove this line

///
/// The exit code for the shell.
///
/// NTRAID#Windows OS Bugs-1036968-2005/01/20-sburns The behavior here is related to monitor work. The low word of the
Copy link
Member

Choose a reason for hiding this comment

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

Remove "NTRAID#Windows OS Bugs-1036968-2005/01/20-sburns ". NTRAID is a really old bug tracking system that is no longer running so no way to open this bug.

Copy link
Collaborator Author

@iSazonov iSazonov Jul 27, 2018

Choose a reason for hiding this comment

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

Removed.
There are many such comments so all comments reviewed and fixed in the file.

///
/// NTRAID#Windows OS Bugs-1036968-2005/01/20-sburns The behavior here is related to monitor work. The low word of the
/// exit code is available for the user. The high word is reserved for the shell and monitor.
///
Copy link
Member

Choose a reason for hiding this comment

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

Keep whitespace

/// - if ctrl-break is pressed, with 0xFFFE0000
/// - if the shell.exe is passed a bad command-line parameter, with 0xFFFD0000.
/// - if the shell.exe crashes, with 0x00000000
///
Copy link
Member

Choose a reason for hiding this comment

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

Keep whitespace

/// possibly due to an error). If not, the shell process crashed. If the shell.exe exit code is x00000000 (crashed)
/// or 0xFFFE0000 (user hit ctrl-break), the monitor should restart the shell.exe. Otherwise, the monitor should exit
/// with the same exit code as the shell.exe.
///
Copy link
Member

Choose a reason for hiding this comment

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

Keep whitespace

}

/// <summary>
///
Copy link
Member

Choose a reason for hiding this comment

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

No content in <summary/>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We have tons empty comments - I can not add useful comments everywhere.

Copy link
Member

Choose a reason for hiding this comment

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

We can treat this as a separate issue outside of this PR

@iSazonov iSazonov mentioned this pull request Jul 30, 2018
11 tasks
@iSazonov
Copy link
Collaborator Author

New PR #7401

@iSazonov iSazonov closed this Jul 30, 2018
@iSazonov iSazonov deleted the remove-empty-xml-comment-lines branch July 30, 2018 04:52
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.

2 participants