diff options
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java b/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java index 2a539efe189..65c1633a039 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java +++ b/sonar-batch/src/main/java/org/sonar/batch/highlighting/SyntaxHighlightingData.java @@ -23,19 +23,20 @@ import org.sonar.batch.index.Data; import java.util.ArrayList; import java.util.Collection; +import java.util.List; public class SyntaxHighlightingData implements Data { - private static final String FIELD_SEPARATOR = ","; - private static final String RULE_SEPARATOR = ";"; + public static final String FIELD_SEPARATOR = ","; + public static final String RULE_SEPARATOR = ";"; - private Collection<SyntaxHighlightingRule> syntaxHighlightingRuleSet; + private List<SyntaxHighlightingRule> syntaxHighlightingRuleSet; public SyntaxHighlightingData(Collection<SyntaxHighlightingRule> syntaxHighlightingRuleSet) { this.syntaxHighlightingRuleSet = new ArrayList<SyntaxHighlightingRule>(syntaxHighlightingRuleSet); } - public Collection<SyntaxHighlightingRule> syntaxHighlightingRuleSet() { + public List<SyntaxHighlightingRule> syntaxHighlightingRuleSet() { return syntaxHighlightingRuleSet; } |