Skip to content

Commit

Permalink
Merge pull request #6500 from JamiKX1/bug_6499
Browse files Browse the repository at this point in the history
bug: CodeCC没有读取到配置时未初始化默认值 #6499
  • Loading branch information
irwinsun authored Apr 6, 2022
2 parents 46bd918 + 9893980 commit 81d5179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CodeScoringConsumer @Autowired constructor(
private val logger = LoggerFactory.getLogger(CodeScoringConsumer::class.java)
}

@Value("\${codecc.public.url}")
@Value("\${codecc.public.url:#{null}}")
private val codeccGateWay: String? = null

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ScheduleServiceImpl implements ScheduleService {
private AnalyzeHostPoolDao analyzeHostPoolDao;
@Autowired
private ConcurrentAnalyzeConfigCache concurrentAnalyzeConfigCache;
@Value("${result.log.path}")
@Value("${result.log.path:#{null}}")
private String resultLogPath;

/**
Expand Down

0 comments on commit 81d5179

Please sign in to comment.