мелочь

This commit is contained in:
2024-12-26 21:20:02 +06:00
parent 383c79fcd8
commit 5dd4c37a25
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@
<version>2.22.2</version> <version>2.22.2</version>
<configuration> <configuration>
<systemPropertyVariables> <systemPropertyVariables>
<spring.config.location>file:kz_mcp_jwt.properties</spring.config.location> <spring.config.location>file:org_ccalm_jwt.properties</spring.config.location>
</systemPropertyVariables> </systemPropertyVariables>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -49,7 +49,7 @@ public class Storage implements AutoCloseable {
} }
// В коде не надеюсь на finalize, использую try-with-resources из AutoCloseable // В коде не надеюсь на finalize, использую try-with-resources из AutoCloseable
@Override /*@Override
protected void finalize() throws Throwable { protected void finalize() throws Throwable {
if(conn!=null) { if(conn!=null) {
try { try {
@ -60,7 +60,7 @@ public class Storage implements AutoCloseable {
} }
} }
super.finalize(); super.finalize();
} }*/
//Получаю поля из базы email пользователя //Получаю поля из базы email пользователя
public JSONObject getJWT(String email){ public JSONObject getJWT(String email){