We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c0d145 commit 11cfa56Copy full SHA for 11cfa56
TLS-Core/src/main/java/de/rub/nds/tlsattacker/core/config/delegate/ServerDelegate.java
@@ -45,13 +45,13 @@ public void applyDelegate(Config config) {
45
}
46
47
48
- private int parsePort(Integer portStr) {
49
- if (portStr == null) {
+ private int parsePort(Integer port) {
+ if (port == null) {
50
throw new ParameterException("Port must be set, but was not specified");
51
52
- if (portStr < 0 || portStr > 65535) {
+ if (port < 0 || port > 65535) {
53
throw new ParameterException("Port must be in interval [0,65535], but is " + port);
54
55
- return portStr;
+ return port;
56
57
0 commit comments