Small fix. We need to let the converters handle defaults for null values 05/3805/1
authorEd Warnicke <eaw@cisco.com>
Tue, 17 Dec 2013 22:22:19 +0000 (14:22 -0800)
committerEd Warnicke <eaw@cisco.com>
Tue, 17 Dec 2013 22:22:19 +0000 (14:22 -0800)
Change-Id: Idb282a483f75b1521a59307fb848e2fcda9fe409
Signed-off-by: Ed Warnicke <eaw@cisco.com>
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/convertor/common/ConvertReactor.java

index a26c0aa31c8846c71f22a8b6d93d4c353770a593..136b5db37165b6674dc13d7531c2c942e6a04a18 100644 (file)
@@ -41,9 +41,6 @@ public abstract class ConvertReactor<FROM> {
      */
     @SuppressWarnings("unchecked")
     public <RESULT, TARGET> void convert(FROM source, short version, TARGET target) {
-        if (source == null) {
-            return;
-        }
         
         //lookup converter
         Convertor<FROM, RESULT> convertor = (Convertor<FROM, RESULT>) conversionMapping.get(version);