From 165d679d101141f1d84e832e38a08a250cdf887e Mon Sep 17 00:00:00 2001 From: ThomasRIBEIRO Date: Wed, 29 May 2024 17:02:56 +0200 Subject: [PATCH] feat(EC-512): Handle Camera Leakage when started but not stopped --- .../checks/camera/{CameraLeak.java => CameraLeakCheck.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/{CameraLeak.java => CameraLeakCheck.java} (97%) diff --git a/swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeak.java b/swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeakCheck.java similarity index 97% rename from swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeak.java rename to swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeakCheck.java index 1d93239..7a6f181 100644 --- a/swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeak.java +++ b/swift-lang/src/main/java/io/ecocode/ios/swift/checks/camera/CameraLeakCheck.java @@ -24,7 +24,7 @@ import org.sonar.check.Rule; @Rule(key = "EC512") -public class CameraLeak extends SwiftRuleCheck { +public class CameraLeakCheck extends SwiftRuleCheck { private static final String DEFAULT_ISSUE_MESSAGE = "Any started capture session should be stopped."; private boolean captureSessionStarted = false; private boolean captureSessionStopped = false;