Author: [email protected]
Date: Fri Mar 16 09:41:33 2012
New Revision: 2149
Log:
[AMDATUAUTH-128] Fixed possible nullpointer
Modified:
trunk/amdatu-auth/auth-stores/mem-store-consumer/src/main/java/org/amdatu/auth/oauth/consumerregistry/mem/service/OAuthServiceConsumerImpl.java
Modified:
trunk/amdatu-auth/auth-stores/mem-store-consumer/src/main/java/org/amdatu/auth/oauth/consumerregistry/mem/service/OAuthServiceConsumerImpl.java
==============================================================================
---
trunk/amdatu-auth/auth-stores/mem-store-consumer/src/main/java/org/amdatu/auth/oauth/consumerregistry/mem/service/OAuthServiceConsumerImpl.java
(original)
+++
trunk/amdatu-auth/auth-stores/mem-store-consumer/src/main/java/org/amdatu/auth/oauth/consumerregistry/mem/service/OAuthServiceConsumerImpl.java
Fri Mar 16 09:41:33 2012
@@ -71,6 +71,9 @@
}
private static Map<String, String> clone(Map<String, String> map) {
+ if (map == null) {
+ return null;
+ }
HashMap<String, String> newMap = new HashMap<String, String>();
for (String key : map.keySet()) {
newMap.put(key, map.get(key));
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits