Issue #1498: Drop the implementations of the clone method. #1499
SonarQubeCloud / SonarCloud Code Analysis
failed
Mar 8, 2026 in 38s
Quality Gate failed
Failed conditions
E Maintainability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check failure on line 38 in org.restlet/src/main/java/org/restlet/engine/util/ImmutableDate.java
sonarqubecloud / SonarCloud Code Analysis
Remove this "clone" implementation; use a copy constructor or copy factory instead.
See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZzPBb8kCzAhNf-zwObT&open=AZzPBb8kCzAhNf-zwObT&pullRequest=1499
Check warning on line 38 in org.restlet/src/main/java/org/restlet/engine/util/ImmutableDate.java
sonarqubecloud / SonarCloud Code Analysis
Use super.clone() to create and seed the cloned instance to be returned.
See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AZzPBb8kCzAhNf-zwObS&open=AZzPBb8kCzAhNf-zwObS&pullRequest=1499
Loading