Skip to content

Feature request: add access method to coldStart field in the Utility class #3668

Closed
@am29d

Description

@am29d

Use case

I'd like to have a method that will return the current value of the coldStart field of the Utility class without changing the value. Right now both isColdStart and getColdStart changes the value when called. As mentioned in #3278 we can't access the flag without changing it.

Solution/User Experience

I propose to change isColdStart to return the coldStart value without changing it which would also reflect its meaning.

Alternative solutions

Change `coldstart` field to protected.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

commonsThis item relates to the Commons UtilitycompletedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions