OPENNETWORKINGLAB/flowvisor — pull request #269 by Tobi042 (2013-10-16 13:36:29+00:00)
Title: Fixed Double to Long cast bug for nw_dst when reading config

On startup, when parsing the JSON config file where the field nw_dst is present for a flowspace rule, an exception occurs that Double can't be cast to Long.
This is due to GSON parsing every number as Double and FlowSpaceImpl expecting a Long (which it could be if GSON wouldn't parse it as Double...) after taking the argument out of the HashMap. The casts of all the other values are already Double casts, so I guess someone simply forgot to change it.