renamed interface

This commit is contained in:
bancika
2016-10-21 13:24:19 +02:00
parent 0c75ab2b5a
commit 05207700fe
2 changed files with 4 additions and 4 deletions
@@ -10,14 +10,14 @@ public class LibraryPresenter {
private final static Logger LOG = Logger.getLogger(LibraryPresenter.class); private final static Logger LOG = Logger.getLogger(LibraryPresenter.class);
private IServiceAPI service; private ServiceAPI service;
private String serviceUrl; private String serviceUrl;
public LibraryPresenter() { public LibraryPresenter() {
serviceUrl = ConfigurationManager.getInstance().readString( serviceUrl = ConfigurationManager.getInstance().readString(
IServiceAPI.URL_KEY, "http://www.diy-fever.com/diylc/api"); ServiceAPI.URL_KEY, "http://www.diy-fever.com/diylc/api");
ProxyFactory factory = new ProxyFactory(new PhpFlatProxy()); ProxyFactory factory = new ProxyFactory(new PhpFlatProxy());
service = factory.createProxy(IServiceAPI.class, serviceUrl); service = factory.createProxy(ServiceAPI.class, serviceUrl);
} }
} }
@@ -13,7 +13,7 @@ import com.diyfever.httpproxy.ParamName;
* @author bancika * @author bancika
* *
*/ */
public interface IServiceAPI { public interface ServiceAPI {
public static final String URL_KEY = "serviceUrl"; public static final String URL_KEY = "serviceUrl";