Further silence error prone warnings
authorFelix Schumacher <felix.schumacher@internetallee.de>
Wed, 13 Apr 2022 13:55:02 +0000 (15:55 +0200)
committerFelix Schumacher <felix.schumacher@internetallee.de>
Wed, 13 Apr 2022 13:55:59 +0000 (15:55 +0200)
commit8f8eb0f209bd6cd76fd9c5dd0173cb34c292d744
tree1c7ecffc55e34e72b16deda29851c7f7baa79f5a
parentde43727474fe9c345e7cd57d0d9b2e01adc05a4d
Further silence error prone warnings

Replace JdkObsolete with JavaUtilDate where we can't replace usage of new Date()
Use Instant and other newer APIs from java.time, where we can replace Date() without
changing our API.

And while we are here, we can get use some more isEmpty calls.

Part of #708
15 files changed:
src/components/src/main/java/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
src/components/src/main/java/org/apache/jmeter/visualizers/SamplerResultTab.java
src/core/src/main/java/org/apache/jmeter/JMeter.java
src/core/src/main/java/org/apache/jmeter/report/core/TimeHelper.java
src/core/src/main/java/org/apache/jmeter/report/dashboard/ReportGenerator.java
src/core/src/main/java/org/apache/jmeter/report/processor/NormalizerSampleConsumer.java
src/core/src/main/java/org/apache/jmeter/reporters/ResultSaver.java
src/core/src/main/java/org/apache/jmeter/save/CSVSaveService.java
src/functions/src/main/java/org/apache/jmeter/functions/DateTimeConvertFunction.java
src/functions/src/main/java/org/apache/jmeter/functions/TimeFunction.java
src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/control/CacheManager.java
src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/control/HC4CookieHandler.java
src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
src/protocol/jms/src/main/java/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.java
src/protocol/jms/src/main/java/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java