Skip to content

Remove a few unnecessary internal setters#611

Merged
dluc merged 1 commit intomicrosoft:mainfrom
stephentoub:internalsetters
Apr 25, 2023
Merged

Remove a few unnecessary internal setters#611
dluc merged 1 commit intomicrosoft:mainfrom
stephentoub:internalsetters

Conversation

@stephentoub
Copy link
Copy Markdown
Member

Motivation and Context

Minor cleanup.

Description

These are unnecessary. As I was reviewing through the code I happened to notice they were unused or had greater than required visibility. Also removed a few unnecessary public visibility annotations from an interface (they were nops and were inconsistent with the rest of the interface), as well as a few initializers that were initializing to the default value and thus were duplicative.

Contribution Checklist

@github-actions github-actions bot added .NET Issue or Pull requests regarding .NET code kernel.core labels Apr 24, 2023
@lemillermicrosoft lemillermicrosoft added the PR: ready to merge PR has been approved by all reviewers, and is ready to merge. label Apr 24, 2023
@dluc dluc merged commit 09a96c2 into microsoft:main Apr 25, 2023
dluc pushed a commit that referenced this pull request Apr 29, 2023
### Motivation and Context

Minor cleanup.

### Description

These are unnecessary. As I was reviewing through the code I happened to
notice they were unused or had greater than required visibility. Also
removed a few unnecessary `public` visibility annotations from an
interface (they were nops and were inconsistent with the rest of the
interface), as well as a few initializers that were initializing to the
default value and thus were duplicative.
dehoward pushed a commit to lemillermicrosoft/semantic-kernel that referenced this pull request Jun 1, 2023
### Motivation and Context

Minor cleanup.

### Description

These are unnecessary. As I was reviewing through the code I happened to
notice they were unused or had greater than required visibility. Also
removed a few unnecessary `public` visibility annotations from an
interface (they were nops and were inconsistent with the rest of the
interface), as well as a few initializers that were initializing to the
default value and thus were duplicative.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code PR: ready to merge PR has been approved by all reviewers, and is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants