[apex] Sort trigger usages

This commit is contained in:
Andreas Dangel
2019-08-10 21:49:01 +02:00
parent efe8f9349d
commit e3db6241f6

View File

@ -35,6 +35,6 @@ public class ASTUserTrigger extends ApexRootNode<UserTrigger> {
}
public String getUsages() {
return node.getUsages().stream().map(TriggerUsage::name).collect(Collectors.joining(","));
return node.getUsages().stream().map(TriggerUsage::name).sorted().collect(Collectors.joining(","));
}
}