Переезд на java 13

This commit is contained in:
serega6531
2020-03-11 18:56:46 +03:00
parent 1f76d2c9dd
commit 59665145b3
6 changed files with 13 additions and 9 deletions

View File

@@ -12,13 +12,14 @@ import ru.serega6531.packmate.model.pojo.SubscriptionMessage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@Service
@Slf4j
public class StreamSubscriptionService {
private List<WebSocketSession> subscribers = new ArrayList<>();
private List<WebSocketSession> subscribers = Collections.synchronizedList(new ArrayList<>());
private final ObjectMapper mapper;

View File

@@ -11,6 +11,7 @@ spring:
hibernate:
temp:
use_jdbc_metadata_defaults: false
database-platform: org.hibernate.dialect.PostgreSQLDialect
enable-capture: true