mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
renamed interface
This commit is contained in:
+3
-3
@@ -10,14 +10,14 @@ public class LibraryPresenter {
|
||||
|
||||
private final static Logger LOG = Logger.getLogger(LibraryPresenter.class);
|
||||
|
||||
private IServiceAPI service;
|
||||
private ServiceAPI service;
|
||||
private String serviceUrl;
|
||||
|
||||
public LibraryPresenter() {
|
||||
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());
|
||||
service = factory.createProxy(IServiceAPI.class, serviceUrl);
|
||||
service = factory.createProxy(ServiceAPI.class, serviceUrl);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import com.diyfever.httpproxy.ParamName;
|
||||
* @author bancika
|
||||
*
|
||||
*/
|
||||
public interface IServiceAPI {
|
||||
public interface ServiceAPI {
|
||||
|
||||
public static final String URL_KEY = "serviceUrl";
|
||||
|
||||
Reference in New Issue
Block a user