-
Notifications
You must be signed in to change notification settings - Fork 48
Transport extension #85
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
base: master
Are you sure you want to change the base?
Conversation
@@ -21,9 +21,10 @@ public class OSCPortInBuilder { | |||
|
|||
private OSCSerializerAndParserBuilder parserBuilder; | |||
private List<OSCPacketListener> packetListeners; | |||
private SocketAddress local; | |||
private SocketAddress remote; | |||
private SocketAddress localSocketAddress; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename of the internal variable because the setters were not named correctly, and the code checker didn't recognize them correctly and threw HiddenField alerts when using this.<varname> = <varname>;
instead of arbitrary different name.
(same for remote address, and same for PortOutBuilder class)
@@ -189,6 +189,7 @@ SPDX-License-Identifier: CC0-1.0 | |||
<module name="HiddenField"> | |||
<property name="ignoreConstructorParameter" value="true"/> | |||
<property name="ignoreSetter" value="true"/> | |||
<property name="setterCanReturnItsClass" value="true" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helps the codestyle checker to correctly recognize setters that return the class.
Notes for review:
|
closes #66
@nsowen @hoijui new MR because i can't modify the source branch of the existing one