Skip to content

ISSUE-11: Missing validation for negative values in ThreadPoolStats constructor #425

@sfloess

Description

@sfloess

Severity: Low

Type: Input Validation

Description:
While ThreadPoolStats has validation for negative values, similar validation patterns should be checked across all classes that accept numeric configuration.

Location:

  • platform-api/src/main/java/org/flossware/platform/api/ThreadPoolStatsTest.java (good test coverage)

Note: This is actually well-handled in the codebase! ThreadPoolStats validates:

  • All counts >= 0
  • Constraints (corePoolSize <= maxPoolSize)
  • Logical relationships between values

Recommendation:
Status: No action needed. This is properly implemented.
The issue was created to document that validation is working as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions