-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathRelease Notes.txt
More file actions
39 lines (30 loc) · 1.46 KB
/
Release Notes.txt
File metadata and controls
39 lines (30 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Work Schedule Project
RELEASE NOTES
(1) 1.1.4, February 6, 2024:
- Upgraded hamcrest to 2.2
- Removed unused Maven dependencies
(2) 1.2.0, December 15, 2024:
- Added members for a team and exceptions for assigned personel
(3) 1.2.1, May 30, 2025:
- Fix WorkSchedule.deleteShift() bug
- Team.calculateWorkingTime() calls minusDays(1), remove member exception method, build cache synch
- Rotation: invalidate cache
- Use isZero() in NonWorkingPeriod.setDuration()
- Shift Instance: use rquals()
- TeamMemberException: add equals() and hashcode() methods
(4) 1.2.2, February 14, 2026:
- By Claude Sonnet 4.5
Bugs Fixed:
Named.java - Fixed equals/hashCode contract violation
Changed equals() to use Objects.equals() for proper null handling
Changed hashCode() to use Objects.hash() for consistency
Fixed toString() to handle null description gracefully
RotationSegment.java - Added null safety checks
Added defensive null checks before calling getName() on rotation and shift to prevent NullPointerException
ShiftInstance.java - Added null safety checks
Added defensive null checks in equals() method to prevent NullPointerException
Performance Improvements:
Team.java - Optimized cache synchronization
Replaced ConcurrentHashMap with HashMap since the method is already synchronized
Improved cache initialization logic to avoid unnecessary clear operations
Optimized string concatenation in toString() methods (replaced += with StringBuilder)