(String str, float defVal)
| 172 | } |
| 173 | |
| 174 | private float parseFloat(String str, float defVal) |
| 175 | { |
| 176 | if (str == null) |
| 177 | { |
| 178 | return defVal; |
| 179 | } |
| 180 | else |
| 181 | { |
| 182 | float f = Config.parseFloat(str, Float.MIN_VALUE); |
| 183 | |
| 184 | if (f == Float.MIN_VALUE) |
| 185 | { |
| 186 | Config.warn("Invalid value: " + str); |
| 187 | return defVal; |
| 188 | } |
| 189 | else |
| 190 | { |
| 191 | return f; |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | private float[] parseAxis(String str, float[] defVal) |
| 197 | { |
no test coverage detected