Skip to content

Commit b2bee76

Browse files
authored
fix: Use correct formatting for logging #7110
1 parent 7638c9a commit b2bee76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • vaadin-grid-flow-parent/vaadin-grid-flow/src/main/java/com/vaadin/flow/component/grid

‎vaadin-grid-flow-parent/vaadin-grid-flow/src/main/java/com/vaadin/flow/component/grid/Grid.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,8 +3872,8 @@ private Optional<T> findByKey(String key) {
38723872
Optional<T> item = Optional
38733873
.ofNullable(getDataCommunicator().getKeyMapper().get(key));
38743874
if (!item.isPresent()) {
3875-
LoggerFactory.getLogger(Grid.class).debug("Key not found: %s. "
3876-
+ "This can happen due to user action while changing"
3875+
LoggerFactory.getLogger(Grid.class).debug("Key not found: {}."
3876+
+ " This can happen due to user action while changing"
38773877
+ " the data provider.", key);
38783878
}
38793879
return item;

0 commit comments

Comments
 (0)