Volatility compile break in OG-Language-Client

Looks like there were some API changes that didn’t get ported over.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project og-language-client: Compilation failure: Compilation failure:
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/SnapshotViewResultProcedure.java:[58,48] error: no suitable constructor found for MarketDataSnapshotterImpl(ComputationTargetResolver,VolatilityCubeDefinitionSource,HistoricalTimeSeriesSource)
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/TakeSnapshotNowFunction.java:[85,50] error: no suitable constructor found for MarketDataSnapshotterImpl(ComputationTargetResolver,VolatilityCubeDefinitionSource,HistoricalTimeSeriesSource)
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/GetVolatilityCubeTensorFunction.java:[61,58] error: incompatible types
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/SetVolatilityCubePointFunction.java:[59,73] error: incompatible types
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/StructuredMarketDataSnapshotUtil.java:[70,28] error: method of in class VolatilityCubeKey cannot be applied to given types;
[ERROR] required: String,String,String,String
[ERROR] found: Currency,String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/StructuredMarketDataSnapshotUtil.java:[74,32] error: cannot find symbol
[ERROR] symbol: method getCurrency()
[ERROR] location: variable key of type VolatilityCubeKey
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/StructuredMarketDataSnapshotUtil.java:[74,61] error: cannot find symbol
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/SetVolatilityCubeTensorFunction.java:[63,58] error: incompatible types
[ERROR] required: VolatilityPoint
[ERROR] found: Triple<Object,Object,Object>
[ERROR] /home/joe/git/OG-PlatformNative/og-language/modules/client/…/…/src/client/java/com/opengamma/language/snapshot/SetVolatilityCubeTensorFunction.java:[98,81] error: incompatible types
[ERROR] -> [Help 1]

Hi,

I just put in a pull request that contains some changes to allow the files to be compiled. One problem is that since the volatility cube is now a triple of objects, I didn’t know how to get a sorted list for that, so I left some of the arrays unsorted.