code cleanup of ObjectValueAdaptor.cs