Skip to content

Commit

Permalink
[FIXED JENKINS-39620] and [JENKINS-39534] Revert change that marked f…
Browse files Browse the repository at this point in the history
…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 44c21fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/findbugs/excludesFilter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<FindBugsFilter>
<Match>
<Class name="org.biouno.unochoice.model.GroovyScript" />
<Bug pattern="SE_BAD_FIELD" />
</Match>
</FindBugsFilter>
4 changes: 2 additions & 2 deletions src/main/java/org/biouno/unochoice/model/GroovyScript.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class GroovyScript extends AbstractScript {
/**
* Secure script content.
*/
private transient SecureGroovyScript secureScript;
private SecureGroovyScript secureScript;

@Nullable
@Deprecated
Expand All @@ -76,7 +76,7 @@ public class GroovyScript extends AbstractScript {
* Secure fallback script content.
*/
@Nullable
private transient SecureGroovyScript secureFallbackScript;
private SecureGroovyScript secureFallbackScript;

@Deprecated
public GroovyScript(String script, String fallbackScript) {
Expand Down

0 comments on commit 44c21fc

Please sign in to comment.