ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/Configuration.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/Configuration.java (file contents):
Revision 1.6 by ajm, Tue Feb 27 03:09:58 2001 UTC vs.
Revision 1.7 by ajm, Tue Feb 27 23:31:32 2001 UTC

# Line 198 | Line 198 | public class Configuration {
198       * @param key the key the value of which is wanted
199       */
200      public String getProperty(String key) {
201 <        return _properties.getProperty(key);
201 >        String property = _properties.getProperty(key);
202 >        if (property == null) {
203 >            return "";
204 >        }
205 >        return property;
206      }
207      
208      public void setProperty(String key, String value) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines