Overlooked: using interfaces over implementation
This commit is contained in:
parent
edf8ab9d3a
commit
7da681a654
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue