Removed a compile warning by handling all elements in a switch statement.
Merge branch 'develop' of github.com:OpenGamma/OG-Platform into develop