Problem
Format handling in RealmPolicy needs standardization or completion.
File Location
src/main/java/io/err0/client/core/RealmPolicy.java:28
Context
This FIXME is near format-related code but lacks specific details about what needs to be fixed.
Investigation Required
- Review the code around line 28 in RealmPolicy.java
- Understand what "formats" refers to (error code formats? date formats? string formats?)
- Check for inconsistencies or incomplete implementations
- Compare with ProjectPolicy.java format handling
Questions to Answer
- What formats need standardization?
- Are there edge cases not handled?
- Is there inconsistency with other format handling in the codebase?
- Should format validation be added?
Implementation Steps
- Investigate: Read RealmPolicy.java lines 20-40 to understand context
- Document: Add comments explaining what the format handling does
- Standardize: Ensure consistency with project-wide format conventions
- Validate: Add validation for format strings if needed
- Test: Add tests for format handling edge cases
Reference Files
src/main/java/io/err0/client/core/ProjectPolicy.java (compare format handling)
- Related test files in
src/test/
Acceptance Criteria
Problem
Format handling in RealmPolicy needs standardization or completion.
File Location
src/main/java/io/err0/client/core/RealmPolicy.java:28// FIXME - formatsContext
This FIXME is near format-related code but lacks specific details about what needs to be fixed.
Investigation Required
Questions to Answer
Implementation Steps
Reference Files
src/main/java/io/err0/client/core/ProjectPolicy.java(compare format handling)src/test/Acceptance Criteria