Skip to content

Code cleanup: convert usage of String to string#8520

Closed
SteveL-MSFT wants to merge 1 commit intoPowerShell:masterfrom
SteveL-MSFT:String-to-string
Closed

Code cleanup: convert usage of String to string#8520
SteveL-MSFT wants to merge 1 commit intoPowerShell:masterfrom
SteveL-MSFT:String-to-string

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

@SteveL-MSFT SteveL-MSFT commented Dec 22, 2018

PR Summary

A scan of the code indicates I can simply search and replace on:

String. <= this one is preceded by a single space
!String.
(String.

and fix the casing. Only two lines I had to manually fix in SecureStringCommands which has a String parameter so put those back.

Spent a bit of time reviewing each of the changes in this PR so a quick scan from someone else should be sufficient.

PR Checklist

@daxian-dbw
Copy link
Copy Markdown
Member

daxian-dbw commented Dec 22, 2018

Please ignore my previous comment. I didn't notice this PR is specifically targeting String.

@daxian-dbw daxian-dbw added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Dec 22, 2018
Copy link
Copy Markdown
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

LGTM. It took me around 40 mins to go through the changes in this PR :)

@iSazonov
Copy link
Copy Markdown
Collaborator

GitHub "Load Diff" is very slow 😕

For such large PRs I think it is better to make one commit per module/assembly.

@iSazonov
Copy link
Copy Markdown
Collaborator

@SteveL-MSFT Please resolve merge conflicts.

@iSazonov
Copy link
Copy Markdown
Collaborator

@SteveL-MSFT Merge conflicts :-(

@iSazonov
Copy link
Copy Markdown
Collaborator

@SteveL-MSFT Can we close the PR? Seems all fixed.

@SteveL-MSFT SteveL-MSFT closed this Jan 1, 2019
@SteveL-MSFT SteveL-MSFT deleted the String-to-string branch June 6, 2020 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants