Skip to content

Commit

Permalink
[JENKINS-39836] Use value from serialver command
Browse files Browse the repository at this point in the history
```
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$Matcher:    static final long serialVersionUID = -5078593817273453864L
```

(this is the generated value on: oracle java 7 and java 8, openjdk 7 and 8, and Zulu 8)
  • Loading branch information
stephenc committed Jan 31, 2017
1 parent f773d7c commit 56a5172
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -324,7 +324,13 @@ public static CredentialsMatcher matcher(Class<?> connectionClass) {
* @since 0.5
*/
private static class Matcher implements CredentialsMatcher {
private static final Long serialVersionUID = 1L;
/**
* Standardize serialization across different JVMs.
*
* @since 1.13
*/
// historical value generated from 1.12 code with Java 8
private static final Long serialVersionUID = -5078593817273453864L;

/**
* The connection class.
Expand Down

0 comments on commit 56a5172

Please sign in to comment.