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

无效端口判断应该是小于最小,大于最大吧 #54

Open
feiadan opened this issue Nov 28, 2018 · 4 comments
Open

无效端口判断应该是小于最小,大于最大吧 #54

feiadan opened this issue Nov 28, 2018 · 4 comments

Comments

@feiadan
Copy link

feiadan commented Nov 28, 2018

/**
* Checks if is invalid port.
*
* @param port the port
* @return true, if is invalid port
*/
public static boolean isInvalidPort(int port) {
return port > MIN_PORT || port <= MAX_PORT;
}

@xiemalin
Copy link
Contributor

该问题是一个bug, 会在下一个版本修复,感谢反馈

@xiemalin
Copy link
Contributor

xiemalin commented Dec 3, 2018

已修复 版本 3.5.19

@feiadan feiadan closed this as completed Dec 5, 2018
@feiadan feiadan reopened this Dec 5, 2018
@feiadan
Copy link
Author

feiadan commented Dec 5, 2018

已修复 版本 3.5.19

貌似没有修复额

@xiemalin
Copy link
Contributor

xiemalin commented Dec 5, 2018

/**
* Checks if is invalid port.
*
* @param port the port
* @return true, if is invalid port
*/
public static boolean isInvalidPort(int port) {
return port > MIN_PORT || port <= MAX_PORT;
}

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

No branches or pull requests

2 participants