From 116abe16f70c791d739d507978a8f8192e48adcc Mon Sep 17 00:00:00 2001 From: Derrek Bond Date: Sun, 27 Aug 2017 15:17:02 -0500 Subject: [PATCH] Moved @Autowired from final field to constructor in JWTSecurityService. Signed-off-by: Derrek Bond --- .../java/org/airsonic/player/service/JWTSecurityService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/service/JWTSecurityService.java b/airsonic-main/src/main/java/org/airsonic/player/service/JWTSecurityService.java index 4d49e7b2..df81c6ae 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/service/JWTSecurityService.java +++ b/airsonic-main/src/main/java/org/airsonic/player/service/JWTSecurityService.java @@ -28,9 +28,9 @@ public class JWTSecurityService { public static final int DEFAULT_DAYS_VALID_FOR = 7; private static SecureRandom secureRandom = new SecureRandom(); - @Autowired private final SettingsService settingsService; + @Autowired public JWTSecurityService(SettingsService settingsService) { this.settingsService = settingsService; }