1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 13:35:22 +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) { public void save(ISettingsStore store) {
store.put("inputFile", fInputFile); store.put("inputFile", fInputFile);
store.put("bufferSize", fBufferSize); store.put("bufferSize", fBufferSize);
store.put("throttle", fInputFile); store.put("throttle", fThrottle);
} }
public String getThrottleString() { public String getThrottleString() {
return fThrottle; return fThrottle;
@ -53,7 +53,7 @@ public class SpeedTestSettings {
try { try {
return Integer.parseInt(fThrottle); return Integer.parseInt(fThrottle);
} catch(RuntimeException e) { } catch(RuntimeException e) {
return 1024; return 0;
} }
} }
public void setThrottleString(String throttle) { public void setThrottleString(String throttle) {