Skip to content

Commit

Permalink
fixed logging, removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
grobmeier committed Dec 17, 2023
1 parent 19056e9 commit 9994899
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public boolean isSortEnabled() {

@Override
public void sortColumn(int col, boolean ascending) {
logger.debug("request to sort col=" + col);
logger.debug("request to sort col={}", col);
currentSortAscending = ascending;
currentSortColumn = col;
sortEnabled = true;
Expand Down Expand Up @@ -856,7 +856,7 @@ public void propertyChange(PropertyChangeEvent arg0) {
monitor.setMillisToDecideToPopup(250);
monitor.setMillisToPopup(100);
logger.debug(
"Changing Model, isCyclic is now " + cyclic);
"Changing Model, isCyclic is now {}", cyclic);

List newUnfilteredList;
List newFilteredList;
Expand All @@ -869,8 +869,6 @@ public void propertyChange(PropertyChangeEvent arg0) {
newFilteredList = new ArrayList(cyclicBufferSize);
}

int increment = 0;

for (Object anUnfilteredList : unfilteredList) {
LoggingEventWrapper loggingEventWrapper = (LoggingEventWrapper) anUnfilteredList;
newUnfilteredList.add(loggingEventWrapper);
Expand Down

0 comments on commit 9994899

Please sign in to comment.