From d7bc801e63d398d50741f68b0c7477a5a3064367 Mon Sep 17 00:00:00 2001 From: Valentin Delaye Date: Wed, 6 Mar 2024 05:29:50 +0100 Subject: [PATCH] Fix @DataBoundSetter on wrong setter --- src/main/java/jenkins/plugins/jobcacher/CacheWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/jenkins/plugins/jobcacher/CacheWrapper.java b/src/main/java/jenkins/plugins/jobcacher/CacheWrapper.java index c809b55..ea33f7f 100644 --- a/src/main/java/jenkins/plugins/jobcacher/CacheWrapper.java +++ b/src/main/java/jenkins/plugins/jobcacher/CacheWrapper.java @@ -92,12 +92,12 @@ public void setSkipSave(boolean skipSave) { this.skipSave = skipSave; } + @DataBoundSetter @SuppressWarnings("unused") public void setSkipRestore(boolean skipRestore) { this.skipRestore = skipRestore; } - @DataBoundSetter @SuppressWarnings("unused") public boolean setSkipRestore() { return skipRestore;