Skip to content
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

bugfix + import 3D fixed for gabbro #21

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

valentin-gauthier-geosiris
Copy link
Collaborator

No description provided.

* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
if (!SessionUtility.tryConnectServlet(request, response)) {

Check notice

Code scanning / SonarCloud

Exceptions should not be thrown from servlet methods Low

Handle the following exceptions that could be thrown by "tryConnectServlet": ServletException, IOException. See more on SonarQube Cloud
objectJSONTree = "null";
}

PrintWriter out = response.getWriter();

Check notice

Code scanning / SonarCloud

Exceptions should not be thrown from servlet methods Low

Handle the following exception that could be thrown by "getWriter": IOException. See more on SonarQube Cloud
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
doGet(request, response);

Check notice

Code scanning / SonarCloud

Exceptions should not be thrown from servlet methods Low

Handle the following exceptions that could be thrown by "doGet": ServletException, IOException. See more on SonarQube Cloud
@@ -146,20 +155,22 @@
if (value.compareToIgnoreCase("disconnect") == 0) {
askConnection = false;
}
}else if ("etp-server-headers".compareToIgnoreCase(k) == 0) {
Gson gson = new Gson();
headers.putAll(gson.fromJson(value, HashMap.class));

Check notice

Code scanning / SonarCloud

Exceptions should not be thrown from servlet methods Low

Handle the following exception that could be thrown by "fromJson": JsonSyntaxException. See more on SonarQube Cloud
@@ -81,7 +81,7 @@
return;
}

PrintWriter out = response.getWriter();
PrintWriter out = response.getWriter();

Check notice

Code scanning / SonarCloud

Exceptions should not be thrown from servlet methods Low

Handle the following exception that could be thrown by "getWriter": IOException. See more on SonarQube Cloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
10 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)
D Security Rating on New Code (required ≥ A)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant