(String key, String value)
| 2570 | } |
| 2571 | |
| 2572 | public void setProperty(String key, String value) { |
| 2573 | if (key==null) return; |
| 2574 | if (props==null) |
| 2575 | props = new Properties(); |
| 2576 | if (value==null || value.length()==0) |
| 2577 | props.remove(key); |
| 2578 | else |
| 2579 | props.setProperty(key, value); |
| 2580 | } |
| 2581 | |
| 2582 | public String getProperty(String property) { |
| 2583 | if (props==null) |
no test coverage detected