public class MantisTask extends LocalTaskImpl {
<BUG>private MantisProject myProject;
private MantisRepository myRepository;</BUG>
public MantisTask(final String id, final String summary, MantisProject project, MantisRepository repository) {
super(id, summary);
<BUG>myProject = project;
myRepository = repository;</BUG>
}
@Override
public String getIssueUrl() {

public class MantisTask extends LocalTaskImpl {
private String myProjectName;
private MantisRepository myRepository;
public MantisTask(final String id, final String summary, MantisProject project, MantisRepository repository) {
super(id, summary);
myProjectName = !MantisProject.ALL_PROJECTS.equals(project) ? project.getName() : null;
myRepository = repository;
}
@Override
public String getIssueUrl() {
