src/main/java/ai/grakn/redismock/commands/AbstractRedisOperation.java
private void precheck(Integer expectedParams, Integer minParams, Integer factorParams){
        if(expectedParams != null) checkArgumentsNumberEquals(params, expectedParams);
        if(minParams != null) checkArgumentsNumberGreater(params, minParams);
        if(factorParams != null) checkArgumentsNumberFactor(params, factorParams);
    }
/**
     * Runs a default precheck to make sure the parameters are as expected
     */
Runs a default precheck to make sure the parameters are as expected
Runs a default precheck to make sure the parameters are as expected
private void precheck(Integer expectedParams, Integer minParams, Integer factorParams){
        if(expectedParams != null) checkArgumentsNumberEquals(params, expectedParams);
        if(minParams != null) checkArgumentsNumberGreater(params, minParams);
        if(factorParams != null) checkArgumentsNumberFactor(params, factorParams);
    }
private void precheck ( Integer expectedParams , Integer minParams , Integer factorParams ) { if ( expectedParams != null ) checkArgumentsNumberEquals ( params , expectedParams ) ; if ( minParams != null ) checkArgumentsNumberGreater ( params , minParams ) ; if ( factorParams != null ) checkArgumentsNumberFactor ( params , factorParams ) ; }
Runs a default precheck to make sure the parameters are as expected
Runs a default precheck to make sure the parameters are as expected