File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/github/theholywaffle/teamspeak3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public class TS3Config {
39
39
private String username = null ;
40
40
private String password = null ;
41
41
private boolean debugToFile = false ;
42
- private long commandTimeout = 4000 ;
42
+ private int commandTimeout = 4000 ;
43
43
44
44
public TS3Config setHost (String host ) {
45
45
this .host = host ;
@@ -112,7 +112,7 @@ boolean getDebugToFile() {
112
112
* @throws IllegalArgumentException
113
113
* if the timeout value is smaller than or equal to {@code 0}
114
114
*/
115
- public TS3Config setCommandTimeout (long commandTimeout ) {
115
+ public TS3Config setCommandTimeout (int commandTimeout ) {
116
116
if (commandTimeout <= 0 ) {
117
117
throw new IllegalArgumentException ("Timeout value must be greater than 0" );
118
118
}
@@ -121,7 +121,7 @@ public TS3Config setCommandTimeout(long commandTimeout) {
121
121
return this ;
122
122
}
123
123
124
- long getCommandTimeout () {
124
+ int getCommandTimeout () {
125
125
return commandTimeout ;
126
126
}
127
127
}
You can’t perform that action at this time.
0 commit comments