Мелочь

This commit is contained in:
Igor I
2024-07-25 21:38:14 +05:00
parent 5a6b47e788
commit ec85845d9e
3 changed files with 10 additions and 9 deletions

View File

@ -100,6 +100,11 @@ public class DBMSRecords implements ServletContextAware {
return new User("none");
}
@Override
public void setServletContext(ServletContext servletContext) {
this.context=servletContext;
}
public String sendError(int code, String message) {
JSONObject json = new JSONObject();
json.put("error_code",code);
@ -2317,8 +2322,4 @@ public class DBMSRecords implements ServletContextAware {
return doc;
}
@Override
public void setServletContext(ServletContext servletContext) {
this.context=servletContext;
}
}