(Properties tbl, Configuration conf)
| 314 | } |
| 315 | |
| 316 | public int getInt(Properties tbl, Configuration conf) { |
| 317 | String value = lookupValue(tbl, conf); |
| 318 | if (value != null) { |
| 319 | return Integer.parseInt(value); |
| 320 | } |
| 321 | return ((Number) defaultValue).intValue(); |
| 322 | } |
| 323 | |
| 324 | public int getInt(Configuration conf) { |
| 325 | return getInt(null, conf); |
no test coverage detected