Skip to content

Commit 791ad0c

Browse files
committed
fix: too many logs
1 parent 63a4322 commit 791ad0c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/chiloven/xamlsorter/entities/MultiLineTreeTableCell.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public MultiLineTreeTableCell() {
2222
textArea.setWrapText(true);
2323
textArea.setPrefRowCount(3);
2424
textArea.setMaxHeight(200);
25-
logger.debug("TextArea initialized with wrapText, prefRowCount=3, maxHeight=200");
2625

2726
// Double click to edit
2827
this.setOnMouseClicked(event -> {
@@ -108,22 +107,18 @@ public void commitEdit(String newValue) {
108107
// Override updateItem to handle empty items and set the correct display
109108
@Override
110109
protected void updateItem(String item, boolean empty) {
111-
logger.debug("updateItem called for cell at row: {}, empty: {}, item: {}", getIndex(), empty, item);
112110
super.updateItem(item, empty);
113111

114112
// If the item is empty or null, clear the cell
115113
if (empty || item == null) {
116-
logger.trace("Clearing cell at row: {}", getIndex());
117114
setText(null);
118115
setGraphic(null);
119116
} else {
120117
if (isEditing()) {
121-
logger.trace("Cell at row: {} is editing, setting textArea", getIndex());
122118
textArea.setText(item);
123119
setGraphic(textArea);
124120
setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
125121
} else {
126-
logger.trace("Cell at row: {} is displaying label", getIndex());
127122
updateDisplay(item);
128123
}
129124
}
@@ -135,7 +130,6 @@ protected void updateItem(String item, boolean empty) {
135130
* @param item the item to display in the cell
136131
*/
137132
private void updateDisplay(String item) {
138-
logger.trace("Updating display for cell at row: {}, item: {}", getIndex(), item);
139133
label.setText(item != null ? item : "");
140134
setGraphic(label);
141135
setContentDisplay(ContentDisplay.GRAPHIC_ONLY);

0 commit comments

Comments
 (0)