src/main/java/org/apache/sling/testing/mock/jcr/MockProperty.java
private boolean removePropertyIfValueNull(Object value) throws RepositoryException {
        if (value == null) {
            remove();
            return true;
        }
        return false;
    }
/**
     * Removes the current property (itself) if the given value is null.
     * @param value Value to check
     * @return true if property was removed
     * @throws RepositoryException
     */
Removes the current property (itself) if the given value is null.
@param value Value to check
@return true if property was removed
@throws RepositoryException
Removes the current property ( itself ) if the given value is null . @param value Value to check @return true if property was removed @throws RepositoryException
private boolean removePropertyIfValueNull(Object value) throws RepositoryException {
        if (value == null) {
            remove();
            return true;
        }
        return false;
    }
private boolean removePropertyIfValueNull ( Object value ) throws RepositoryException { if ( value == null ) { remove ( ) ; return true ; } return false ; }
Removes the current property (itself) if the given value is null.
Removes the current property ( itself ) if the given value is null .