import org.bsc.confluence.rest.RESTConfluenceServiceImpl;
import org.bsc.functional.P1;
import org.codehaus.swizzle.confluence.XMLRPCConfluenceServiceImpl;
import static org.codehaus.swizzle.confluence.XMLRPCConfluenceServiceImpl.createInstanceDetectingVersion;
public class ConfluenceServiceFactory {
<BUG>public static class MixedConfluenceService implements ConfluenceService {
</BUG>
final XMLRPCConfluenceServiceImpl   xmlrpcService;
final RESTConfluenceServiceImpl     restService;
public MixedConfluenceService(String endPoint, Credentials credentials, ConfluenceProxy proxyInfo) throws Exception {

import org.bsc.confluence.rest.RESTConfluenceServiceImpl;
import org.bsc.functional.P1;
import org.codehaus.swizzle.confluence.XMLRPCConfluenceServiceImpl;
import static org.codehaus.swizzle.confluence.XMLRPCConfluenceServiceImpl.createInstanceDetectingVersion;
public class ConfluenceServiceFactory {
private static class MixedConfluenceService implements ConfluenceService {
final XMLRPCConfluenceServiceImpl   xmlrpcService;
final RESTConfluenceServiceImpl     restService;
public MixedConfluenceService(String endPoint, Credentials credentials, ConfluenceProxy proxyInfo) throws Exception {
