mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
throttle was saved wrongly
This commit is contained in:
parent
4888031daf
commit
249a6c3753
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ public class SpeedTestSettings {
|
|||
public void save(ISettingsStore store) {
|
||||
store.put("inputFile", fInputFile);
|
||||
store.put("bufferSize", fBufferSize);
|
||||
store.put("throttle", fInputFile);
|
||||
store.put("throttle", fThrottle);
|
||||
}
|
||||
public String getThrottleString() {
|
||||
return fThrottle;
|
||||
|
@ -53,7 +53,7 @@ public class SpeedTestSettings {
|
|||
try {
|
||||
return Integer.parseInt(fThrottle);
|
||||
} catch(RuntimeException e) {
|
||||
return 1024;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
public void setThrottleString(String throttle) {
|
||||
|
|
Loading…
Add table
Reference in a new issue