Skip to content

Commit

Permalink
修正实现
Browse files Browse the repository at this point in the history
  • Loading branch information
du00cs committed Feb 27, 2024
1 parent 88b733c commit fee08b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class LocalHolidayProvider extends HolidayProvider {
val builder = Maps.newTreeMap[String, String]()
normalMap.foreach{
case (pt, normalSet) => normalSet.foreach(normal =>
if (pt == normal && normal.contains(pt) || !normal.contains(pt)) {
if (!builder.containsKey(pt) || builder.containsKey(pt) && pt == normal) {
builder.put(pt, normal)
}
)
Expand Down

0 comments on commit fee08b2

Please sign in to comment.