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

Replaced integer literal with constant #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brentswekla
Copy link

@brentswekla brentswekla commented Oct 14, 2021

The current integer literal isn't consistent with the rest of the code, and triggers an unnecessary type conversion.
The current test for when the port field should be set is incorrect and is inconsistent with the rest of the code.
This request fixes both issues.

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