[java-inspections] IDEA-201932 Provide inspection to highlight redundant creation operations in java date time api

GitOrigin-RevId: 6b246167dda52272122d356c3f6a787eab5a2542
This commit is contained in:
Mikhail Pyltsin
2024-09-20 14:09:47 +02:00
committed by intellij-monorepo-bot
parent 0653f59f3c
commit f73a4d96be
9 changed files with 576 additions and 0 deletions

View File

@@ -1676,6 +1676,9 @@ redundant.call.problem.descriptor=Redundant call to <code>#ref()</code> #loc
inspection.explicit.chrono.field.display.name=Calls of 'java.time' methods with explicit 'ChronoField' or 'ChronoUnit' arguments can be simplified
inspection.explicit.chrono.field.problem.descriptor=Calls with explicit 'ChronoField' or 'ChronoUnit' arguments call can be simplified
inspection.explicit.chrono.field.family.name=Simplify calls with explicit 'ChronoField' or 'ChronoUnit' arguments
inspection.redundant.creation.java.time.display.name=Redundant creation of 'java.time' objects
inspection.redundant.creation.java.time.error.message=Redundant creation of ''{0}'' object
inspection.redundant.creation.java.time.family.name=Simplify creation of 'java.time' object
inspection.simplifiable.compare.java.time.display.name=Expression with 'java.time' 'compareTo()' call can be simplified
inspection.simplifiable.compare.java.time.family.name=Simplify expression with 'java.time' 'compareTo()' call
inspection.simplifiable.compare.java.time.problem.descriptor=Expression with 'java.time' <code>#ref()</code> call can be simplified