public static ClientData toV2ClientData(V1ClientData v1ClientData)
{
if (v1ClientData != null)
{
ClientData clientData = WSRPTypeFactory.createClientData(v1ClientData.getUserAgent());
List<V1Extension> extensions = v1ClientData.getExtensions();
if (extensions != null)
{
clientData.getExtensions().addAll(Lists.transform(extensions, EXTENSION));
}
return clientData;
}
else