1 37 package net.sourceforge.cruisecontrol.publishers.email; 38 39 public class DropLetterEmailAddressMapper extends EmailAddressMapper { 40 41 public DropLetterEmailAddressMapper() { 42 super(); 43 } 44 45 public String mapUser(String user) { 46 String mappedUser = null; 47 if (user.startsWith("dropletteruser")) { 48 mappedUser = (new StringBuffer (user)).substring(1); 49 } 50 return mappedUser; 51 } 52 53 public boolean cacheable() { 54 return false; 55 } 56 } 57 | Popular Tags |