X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FCell.java;h=c6fe4a2a4fed57506c9c501cfb249a6c925eb88e;hb=daa4106c096cd4d2b92c3cbae6491edccd25fcc4;hp=511963c28ac23c0f458addcafc56090bb7697bb8;hpb=e826b451baf0d1e66d09ce03a6fefee2eb8386f5;p=fanfix.git diff --git a/src/jexer/bits/Cell.java b/src/jexer/bits/Cell.java index 511963c..c6fe4a2 100644 --- a/src/jexer/bits/Cell.java +++ b/src/jexer/bits/Cell.java @@ -1,4 +1,4 @@ -/** +/* * Jexer - Java Text User Interface * * License: LGPLv3 or later @@ -77,11 +77,11 @@ public final class Cell extends CellAttributes { public boolean isBlank() { if ((getForeColor().equals(Color.WHITE)) && (getBackColor().equals(Color.BLACK)) - && !getBold() - && !getBlink() - && !getReverse() - && !getUnderline() - && !getProtect() + && !isBold() + && !isBlink() + && !isReverse() + && !isUnderline() + && !isProtect() && (ch == ' ') ) { return true; @@ -178,6 +178,6 @@ public final class Cell extends CellAttributes { @Override public String toString() { return String.format("fore: %d back: %d bold: %s blink: %s ch %c", - getForeColor(), getBackColor(), getBold(), getBlink(), ch); + getForeColor(), getBackColor(), isBold(), isBlink(), ch); } }