1
0
Fork 0
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:
Michael Scharf 2007-10-05 03:06:10 +00:00
parent 4888031daf
commit 249a6c3753

View file

@ -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) {