package com.cloudmine.api.rest;

import com.cloudmine.api.DeviceIdentifier;
import org.apache.http.Header;

import java.util.Set;

/**
 * <br>
 * Copyright CloudMine LLC. All rights reserved<br>
 * See LICENSE file included with SDK for details.
 */
public class AndroidHeaderFactory extends HeaderFactoryStandardImpl {
    public static final String CLOUD_MINE_AGENT = "Android/0.2";

    @Override
    public Set<Header> getCloudMineHeaders() {
        Set<Header> headers = super.getCloudMineHeaders();
        headers.add(DeviceIdentifier.getDeviceIdentifierHeader());
        return headers;
    }

    @Override
    public String getCloudMineAgent() {
        return CLOUD_MINE_AGENT;
    }
}

@@ -285,16 +285,20 @@
 extends 
+Java
 HeaderFa
@@ -306,20 +306,8 @@
 tory
-StandardImpl
  %7B%0A 

Fix AndroidHeaderFactory