мелочь
This commit is contained in:
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
|||||||
@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user