(Properties tbl, Configuration conf)
| 339 | } |
| 340 | |
| 341 | public long getLong(Properties tbl, Configuration conf) { |
| 342 | String value = lookupValue(tbl, conf); |
| 343 | if (value != null) { |
| 344 | return Long.parseLong(value); |
| 345 | } |
| 346 | return ((Number) defaultValue).longValue(); |
| 347 | } |
| 348 | |
| 349 | public long getLong(Configuration conf) { |
| 350 | return getLong(null, conf); |
no test coverage detected