From 60f0d976efe3a08edfa2bcbe9983a318e419b98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Gonz=C3=A1lez=20Fern=C3=A1ndez?= Date: Tue, 20 Sep 2011 19:18:52 +0200 Subject: [PATCH] The cause must be thrown FEA: ItEr75S11PreventLooseChanges --- .../concurrentdetection/ConcurrentModificationHandling.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navalplanner-webapp/src/main/java/org/navalplanner/web/common/concurrentdetection/ConcurrentModificationHandling.java b/navalplanner-webapp/src/main/java/org/navalplanner/web/common/concurrentdetection/ConcurrentModificationHandling.java index 305c74bd1..cdc60c853 100644 --- a/navalplanner-webapp/src/main/java/org/navalplanner/web/common/concurrentdetection/ConcurrentModificationHandling.java +++ b/navalplanner-webapp/src/main/java/org/navalplanner/web/common/concurrentdetection/ConcurrentModificationHandling.java @@ -66,7 +66,7 @@ public class ConcurrentModificationHandling { ConcurrentModificationController.showException( optimisticLockingFailureException, goToPage); } - throw e; + throw cause; } } };