initViewportParams();
}
+ @Override
public String getServiceActionText()
{
return "calculating Amino acid consensus using AACon service";
* current visualization settings.
*/
+ @Override
public void updateResultAnnotation(boolean immediate)
{
if (immediate || !calcMan.isWorking(this) && scoremanager != null)
{
Map<String, TreeSet<Score>> scoremap = scoremanager.asMap();
int alWidth = alignViewport.getAlignment().getWidth();
- ArrayList<AlignmentAnnotation> ourAnnot = new ArrayList<AlignmentAnnotation>();
+ ArrayList<AlignmentAnnotation> ourAnnot = new ArrayList<>();
for (String score : scoremap.keySet())
{
Set<Score> scores = scoremap.get(score);