This is giving a class cast exception, MetadataKey extends DataWatcherObject but creating a DataWatcher.Item with a DataWatcherObject directly will cause a cast exception. A check to either cast or use id's (without translating the protocol) depending on the object type would be nice.
This is giving a class cast exception, MetadataKey extends DataWatcherObject but creating a DataWatcher.Item with a DataWatcherObject directly will cause a cast exception. A check to either cast or use id's (without translating the protocol) depending on the object type would be nice.