мелочь
This commit is contained in:
2
pom.xml
2
pom.xml
@ -134,7 +134,7 @@
|
||||
<version>2.22.2</version>
|
||||
<configuration>
|
||||
<systemPropertyVariables>
|
||||
<spring.config.location>file:kz_mcp_jwt.properties</spring.config.location>
|
||||
<spring.config.location>file:org_ccalm_jwt.properties</spring.config.location>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
@ -49,7 +49,7 @@ public class Storage implements AutoCloseable {
|
||||
}
|
||||
|
||||
// В коде не надеюсь на finalize, использую try-with-resources из AutoCloseable
|
||||
@Override
|
||||
/*@Override
|
||||
protected void finalize() throws Throwable {
|
||||
if(conn!=null) {
|
||||
try {
|
||||
@ -60,7 +60,7 @@ public class Storage implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
super.finalize();
|
||||
}
|
||||
}*/
|
||||
|
||||
//Получаю поля из базы email пользователя
|
||||
public JSONObject getJWT(String email){
|
||||
|
||||
Reference in New Issue
Block a user