Get the value of the specified property. If the "get" method returns null, use the getProperty method, which might cascade to a default Properties object.
(Properties props, String name)
| 121 | * which might cascade to a default Properties object. |
| 122 | */ |
| 123 | private static Object getProp(Properties props, String name) { |
| 124 | Object val = props.get(name); |
| 125 | if (val != null) |
| 126 | return val; |
| 127 | else |
| 128 | return props.getProperty(name); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Interpret the value object as an integer, |
no test coverage detected