iothub/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/twin/ParserUtility.java [150:166]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static void validateMapInternal(Map<String, Object> map) throws IllegalArgumentException
    {
        for (Map.Entry<String, Object> entry : map.entrySet())
        {
            Object value = entry.getValue();

            if ((value != null) && ((value.getClass().isArray()) || (value.getClass().isLocalClass())))
            {
                throw new IllegalArgumentException("Map contains illegal value type " + value.getClass().getName());
            }

            if (value instanceof Map)
            {
                validateMapInternal((Map<String, Object>) value);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



provisioning/provisioning-service-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/service/configs/ParserUtility.java [150:166]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static void validateMapInternal(Map<String, Object> map) throws IllegalArgumentException
    {
        for (Map.Entry<String, Object> entry : map.entrySet())
        {
            Object value = entry.getValue();

            if ((value != null) && ((value.getClass().isArray()) || (value.getClass().isLocalClass())))
            {
                throw new IllegalArgumentException("Map contains illegal value type " + value.getClass().getName());
            }

            if (value instanceof Map)
            {
                validateMapInternal((Map<String, Object>) value);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



