Skip to content

Commit b182d49

Browse files
Suggestion: Use static empty list
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
1 parent 471f17f commit b182d49

File tree

1 file changed

+1
-1
lines changed
  • java/src/org/openqa/selenium/grid/node

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/grid/node/Node.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public TemporaryFilesystem getDownloadsFilesystem(SessionId id) throws IOExcepti
275275
public abstract HealthCheck getHealthCheck();
276276

277277
public List<SessionHistoryEntry> getSessionHistory() {
278-
return new ArrayList<>();
278+
return Collections.emptyList();
279279
}
280280

281281
public Duration getSessionTimeout() {

0 commit comments

Comments
 (0)