@Override
    public void setMaxAge(int maxAge) {
        this.maxAge = Math.max(DEFAULT_MAX_AGE, maxAge);
    }
{@code -1} indicating that no version property should be set on the cookie.
web/src/main/java/org/apache/shiro/web/servlet/SimpleCookie.java