Merge pull request #1030 from rappleg/RevertLazyMapNewerGroovyVersion

Revert "PRP-172 Fix Hue Connect parse errors on newer versions of Groovy"
This commit is contained in:
Vinay Rao
2016-07-06 13:53:32 -07:00
committed by GitHub

View File

@@ -689,7 +689,7 @@ def parse(childDevice, description) {
log.warn "Parsing Body failed - trying again..." log.warn "Parsing Body failed - trying again..."
poll() poll()
} }
if (body instanceof java.util.HashMap || body instanceof groovy.json.internal.LazyMap) { if (body instanceof java.util.HashMap) {
//poll response //poll response
def bulbs = getChildDevices() def bulbs = getChildDevices()
for (bulb in body) { for (bulb in body) {