Overlooked: using interfaces over implementation

This commit is contained in:
Francesco Chicchiriccò 2014-03-10 08:19:52 +01:00
parent edf8ab9d3a
commit 7da681a654
1 changed files with 12 additions and 9 deletions

View File

@ -18,13 +18,16 @@
*/
package org.apache.olingo.odata4.client.core;
import org.apache.olingo.odata4.client.api.ODataV3Client;
import org.apache.olingo.odata4.client.api.ODataV4Client;
public final class ODataClientFactory {
public static ODataV3ClientImpl getV3() {
public static ODataV3Client getV3() {
return new ODataV3ClientImpl();
}
public static ODataV4ClientImpl getV4() {
public static ODataV4Client getV4() {
return new ODataV4ClientImpl();
}