tabish121 commented on a change in pull request #1:
URL: https://github.com/apache/qpid-protonj2/pull/1#discussion_r695226427
##########
File path:
protonj2-client/src/main/java/org/apache/qpid/protonj2/client/TransportOptions.java
##########
@@ -329,20 +329,20 @@ public TransportOptions allowNativeIO(boolean
allowNativeIO) {
}
/**
- * @return the nativeIOPeference
+ * @return the nativeIOPreference
*/
- public String[] nativeIOPeference() {
- return nativeIOPeference;
+ public String[] nativeIOPreference() {
+ return nativeIOPreference;
}
/**
- * @param nativeIOPeference the nativeIOPeference to set
+ * @param nativeIOPreference the nativeIOPreference to set
*/
- public void nativeIOPeference(String... nativeIOPeference) {
- if (nativeIOPeference == null || nativeIOPeference.length == 0 ||
nativeIOPeference.length == 1 && nativeIOPeference[0] == null) {
- this.nativeIOPeference = DEFAULT_NATIVEIO_PREFERENCES;
+ public void nativeIOPreference(String... nativeIOPreference) {
+ if (nativeIOPreference == null || nativeIOPreference.length == 0 ||
nativeIOPreference.length == 1 && nativeIOPreference[0] == null) {
+ this.nativeIOPreference = DEFAULT_NATIVEIO_PREFERENCES;
} else {
- this.nativeIOPeference = nativeIOPeference;
+ this.nativeIOPreference = nativeIOPreference;
Review comment:
This was addressed with larger API docs changes in
https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=acfb425
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]