/
monzikov
/
past-solution
Обзор
Документация
Войти
/
monzikov
/
past-solution
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/main/java/edu/mai/pastsolution/CheckerConfig.java
18 строк
635 B
Yuri Monzikov
add past-solution code
04 июл 2026, 14:38
04 июл 2026, 14:38
1516693
Код
Авторство
О чём код?
package edu.mai.pastsolution; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.core.JdbcTemplate; @Configuration public class CheckerConfig { @Bean public StopListChecker lcsChecker( JdbcTemplate jdbcTemplate, @Value("${app.match.lcs.threshold-low:0.82}") float thresholdLow, @Value("${app.match.lcs.threshold-high:0.92}") float thresholdHigh) { return new StopListChecker(jdbcTemplate, thresholdLow, thresholdHigh); } }