1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

throttle was saved wrongly

This commit is contained in:
Michael Scharf 2007-10-05 03:06:10 +00:00
parent 05762f33a7
commit a6f144f5a5

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