Given this method, does this represent some egregious stylistic or semantic faux pas:
private double translateSlider(int sliderVal) { switch (sliderVal) {
Why not just
private double translateSlider(int sliderval) { if(sliderval > 4 || sliderval < 0) return 1.0d; return (1.0d - ((double)sliderval/10.0d)); }
Or similar?