@Override
    public boolean equals(Object o) {
        if (!(o instanceof WebSocketCloseStatus)) {
            return false;
        }
        if (this == o) {
            return true;
        }
        final WebSocketCloseStatus that = (WebSocketCloseStatus) o;

        return statusCode == that.statusCode;
    }
Equality of {@link WebSocketCloseStatus} only depends on {@link #code()}.
core/src/main/java/com/linecorp/armeria/common/websocket/WebSocketCloseStatus.java