Skip to content

Commit

Permalink
LRU cache on MailMessageIdAction.messageId
Browse files Browse the repository at this point in the history
  • Loading branch information
huybrechts committed Jan 7, 2012
1 parent 0f4f69d commit 58e0ea4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/hudson/tasks/MailMessageIdAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
*/
package hudson.tasks;

import com.thoughtworks.xstream.annotations.XStreamConverter;
import hudson.model.Action;
import hudson.model.Run;
import hudson.util.xstream.LRUStringConverter;

/**
* Remembers the message ID of the e-mail that was sent for the build.
Expand All @@ -43,6 +45,7 @@ public class MailMessageIdAction implements Action {
/**
* Message ID of the e-mail sent for the build.
*/
@XStreamConverter(LRUStringConverter.class)
public final String messageId;

public MailMessageIdAction(String messageId) {
Expand Down

0 comments on commit 58e0ea4

Please sign in to comment.