Skip to content

Commit

Permalink
Changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
random1223 committed Sep 5, 2024
1 parent a0d2c6a commit 41101f9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.codety.scanner.reporter.dto;

import io.codety.common.dto.CodeAnalyzerType;
import io.codety.scanner.util.StringUtil;

import java.util.*;

Expand All @@ -15,7 +16,9 @@ public class CodeAnalysisResultDto {
public CodeAnalysisResultDto(String language, CodeAnalyzerType codeAnalyzerType) {
this.language = language;
this.codeAnalyzerType = codeAnalyzerType;
this.displayTitle = language;
if(language!=null) {
this.displayTitle = StringUtil.toCamelCaseWord(language);
}
}

public void addIssue(CodeAnalysisIssueDto issueDto) {
Expand Down

0 comments on commit 41101f9

Please sign in to comment.