Updated to latest Spring Boot version 1.2.4.RELEASE.
Updated to Spring Security 4.0.1.
Adapted WebSocketSecurity configuration to latest changes in Spring
Security 4.0.1, e.g. by explicitly the CSRF support for WS.
Some additional polishing:
General code formatting.
Added @Override annotations to get rid of some warnings.
Added serializationUID to TooMuchProfanityException.
Disabled debug logging in application.properties
More idiomatic stream construction from arrays: Changed Arrays.asList(array).stream() to Arrays.stream(array) in ProfanityChecker.
Updated to latest Spring Boot version 1.2.4.RELEASE. Updated to Spring Security 4.0.1. Adapted WebSocketSecurity configuration to latest changes in Spring Security 4.0.1, e.g. by explicitly the CSRF support for WS.
Some additional polishing: General code formatting. Added @Override annotations to get rid of some warnings. Added serializationUID to TooMuchProfanityException. Disabled debug logging in application.properties More idiomatic stream construction from arrays: Changed Arrays.asList(array).stream() to Arrays.stream(array) in ProfanityChecker.