Project

General

Profile

Actions

Bug #16606

closed

Bug #16524: we should not use .size to check if a collection is empty

same as parent ticket, but for .length

Added by Nicolas CHARLES over 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

we are using a lot of .length to check if strings are empty, but we should use isEmpty, even if perf improvement s minimal (see https://www.baeldung.com/java-string-performance)


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #16607: Merge error in #16606ReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF