-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: orders and moderator implementation #18
Conversation
Qodana for JVM1 new problem were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
|
||
try { | ||
Gson gson = new Gson(); | ||
map = gson.fromJson(req.getReader(), mapType); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
try { | ||
resp.sendError(HttpServletResponse.SC_FORBIDDEN); | ||
} catch (IOException e) { | ||
throw new RuntimeException(e); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
# Conflicts: # src/main/java/it/savoreco/controller/OrdersServlet.java # src/main/java/it/savoreco/model/entity/Purchase.java
try { | ||
response.sendError(HttpServletResponse.SC_FORBIDDEN); | ||
} catch (IOException e) { | ||
throw new RuntimeException(e); |
Check notice
Code scanning / SonarCloud
Exceptions should not be thrown from servlet methods Low
# Conflicts: # src/main/webapp/view/moderator/moderatorPage.jsp
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
orders and moderator implementation