Skip to content

Nullability @Contract declaration for CodeFlow.isIntegerForNumericOp() is unnecessary #34985

Closed
@sbrannen

Description

@sbrannen

The CodeFlow.isIntegerForNumericOp(Number) method is SpEL is currently annotated with @Contract("null -> false").

However, the Number parameter is not marked as @Nullable.

Thus, we should remove the unnecessary @Contract declaration.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions