prince-of-versions/src/main/java/co/infinum/princeofversions/PrinceOfVersions.java
private void validateDependencies() {
        if (this.factory == null) {
            throw new IllegalArgumentException("Factory is null.");
        } else if (this.repository == null) {
            throw new IllegalArgumentException("Repository is null.");
        } else if (this.sdkVersionProvider == null) {
            throw new IllegalArgumentException("SdkVersionProvider is null");
        }
    }
/**
     * Validating dependency injected through constructors.
     *
     * @throws IllegalArgumentException if some of dependencies is not valid.
     */
Validating dependency injected through constructors.
@throws IllegalArgumentException if some of dependencies is not valid.
Validating dependency injected through constructors . @throws IllegalArgumentException if some of dependencies is not valid .
private void validateDependencies() {
        if (this.factory == null) {
            throw new IllegalArgumentException("Factory is null.");
        } else if (this.repository == null) {
            throw new IllegalArgumentException("Repository is null.");
        } else if (this.sdkVersionProvider == null) {
            throw new IllegalArgumentException("SdkVersionProvider is null");
        }
    }
private void validateDependencies ( ) { if ( this . factory == null ) { throw new IllegalArgumentException ( "Factory is null." ) ; } else if ( this . repository == null ) { throw new IllegalArgumentException ( "Repository is null." ) ; } else if ( this . sdkVersionProvider == null ) { throw new IllegalArgumentException ( "SdkVersionProvider is null" ) ; } }
Validating dependency injected through constructors.
Validating dependency injected through constructors .