if ((sides & LEFT) == LEFT)
} if ((sides & LEFT) == LEFT) {
    public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) {        BorderPropertySet border = style.getBorder(ctx);        if ((sides & TOP) == TOP) {            if ( border.noTop()) {                sides -= TOP;            }        }        if ((sides & LEFT) == LEFT) {            if ( border.noLeft() ) {                sides -= LEFT;            }        }        if ((sides & BOTTOM) == BOTTOM) {            if ( border.noBottom()) {                sides -= BOTTOM;            }        }        if ((sides & RIGHT) == RIGHT) {            if ( border.noRight()) {                sides -= RIGHT;            }        }        //Now paint!        if ((sides & TOP) == TOP)            paintBorderSide(border, g, bounds, sides, TOP, border.topStyle(), xOffset);        if ((sides & LEFT) == LEFT)            paintBorderSide(border, g, bounds, sides, LEFT, border.leftStyle(), xOffset);        if ((sides & BOTTOM) == BOTTOM)            paintBorderSide(border, g, bounds, sides, BOTTOM, border.bottomStyle(), xOffset);        if ((sides & RIGHT) == RIGHT)            paintBorderSide(border, g, bounds, sides, RIGHT, border.rightStyle(), xOffset);    }