Permalink
Browse files

[FIXED JENKINS-39620] and [JENKINS-39534] Revert change that marked f…

…ields as transient, and add FindBugs exclusion filters
  • Loading branch information...
kinow authored and Bruno P. Kinoshita committed Nov 10, 2016
1 parent e0b2555 commit 44c21fc6bab67a538d785712d2a3aa302d20ea1a
Showing with 9 additions and 2 deletions.
  1. +7 −0 src/findbugs/excludesFilter.xml
  2. +2 −2 src/main/java/org/biouno/unochoice/model/GroovyScript.java
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<FindBugsFilter>
<Match>
<Class name="org.biouno.unochoice.model.GroovyScript" />
<Bug pattern="SE_BAD_FIELD" />
</Match>
</FindBugsFilter>
@@ -66,7 +66,7 @@
/**
* Secure script content.
*/
private transient SecureGroovyScript secureScript;
private SecureGroovyScript secureScript;
@Nullable
@Deprecated
@@ -76,7 +76,7 @@
* Secure fallback script content.
*/
@Nullable
private transient SecureGroovyScript secureFallbackScript;
private SecureGroovyScript secureFallbackScript;
@Deprecated
public GroovyScript(String script, String fallbackScript) {

0 comments on commit 44c21fc

Please sign in to comment.