Remove multiple implementations of getSshHost() in email classes
The getSshHost() method was implemented in both ReplacePatchSetSender and NewChangeSender. Remove these and implement it in the NotificationEmail base class instead. Change-Id: I55e36021915d147e01c676e7837557f5283812f6
This commit is contained in:
committed by
David Pursehouse
parent
618f878dc0
commit
3a495e6c46
@@ -40,9 +40,10 @@ public class CreateChangeSender extends NewChangeSender {
|
||||
|
||||
@Inject
|
||||
public CreateChangeSender(EmailArguments ea,
|
||||
@AnonymousCowardName String anonymousCowardName, SshInfo sshInfo,
|
||||
@AnonymousCowardName String anonymousCowardName, SshInfo si,
|
||||
@Assisted Change c) {
|
||||
super(ea, anonymousCowardName, sshInfo, c);
|
||||
super(ea, anonymousCowardName, c);
|
||||
setSshInfo(si);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user