src/net/java/otr4j/OtrKeyManagerImpl.java
changeset 900 ab30d289a86c
parent 895 b2e1b45382a4
equal deleted inserted replaced
899:9443da4a7fb7 900:ab30d289a86c
    90 
    90 
    91 		}
    91 		}
    92 
    92 
    93 		public byte[] getPropertyBytes(String id) {
    93 		public byte[] getPropertyBytes(String id) {
    94 			String value = properties.getProperty(id);
    94 			String value = properties.getProperty(id);
       
    95 			if (value == null)
       
    96 			    return null;
    95 			return Base64.decode(value);
    97 			return Base64.decode(value);
    96 		}
    98 		}
    97 
    99 
    98 		public boolean getPropertyBoolean(String id, boolean defaultValue) {
   100 		public boolean getPropertyBoolean(String id, boolean defaultValue) {
    99 			try {
   101 			try {