Skip to content
Permalink
Browse files

FIXED - JENKINS-16453

  • Loading branch information
Matthias Richter
Matthias Richter committed Jan 23, 2013
1 parent a0b9699 commit 608e6f79b882b26b98d4ee2e0a37f534ce3aee5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/git/GitChangeSet.java
@@ -271,7 +271,7 @@ public User findOrCreateUser(String csAuthor, String csAuthorEmail, boolean crea
user = User.get(csAuthorEmail.split("@")[0], true);
}
// set email address for user if none is already available
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class)==null) {
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class).getAddress()) {
try {
user.addProperty(new Mailer.UserProperty(csAuthorEmail));
} catch (IOException e) {

0 comments on commit 608e6f7

Please sign in to comment.
You can’t perform that action at this time.