summaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/src/main/java/org
diff options
context:
space:
mode:
authorJulienBe <julien.bertozzi@intl.att.com>2021-01-19 10:54:52 +0100
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-20 10:34:31 +0000
commit5ce2da3100483eb505876b428c7c490ff445ba5c (patch)
treefdff7d173e531ed0f5a3f47652fc84b51a732bc9 /utils/webseal-simulator/src/main/java/org
parent3315931d554d25687737084ba70e23432e96c030 (diff)
Remove dead code
Remove unused variables Remove unnecessary statements Issue-ID: SDC-3428 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Iddc8ffdc141edd409d50f90c03cb6612f6ebf042 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'utils/webseal-simulator/src/main/java/org')
-rw-r--r--utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java4
-rw-r--r--utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java10
2 files changed, 0 insertions, 14 deletions
diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
index 9780c09936..3d4e772006 100644
--- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
+++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/Login.java
@@ -53,10 +53,6 @@ public class Login extends HttpServlet {
System.out.println("about to build login page");
response.setContentType("text/html");
PrintWriter writer = response.getWriter();
- String message = (String) request.getAttribute("message");
- if (message == null) {
- message = "";
- }
Collection<User> allUsers = Conf.getInstance().getUsers().values();
writer.println("<html>");
diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java
index d03b93c727..7aa48e62cf 100644
--- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java
+++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java
@@ -134,19 +134,9 @@ public class RequestsClient extends HttpServlet {
try {
result = IOUtils.toString(con.getErrorStream());
response.append(result);
-
} catch (Exception e2) {
- result = null;
- }
- // logger.debug("Response body: {}", response);
-
- if (response != null) {
- responseString = response.toString();
}
- // Map<String, List<String>> headerFields = con.getHeaderFields();
- // String responseMessage = con.getResponseMessage();
-
con.disconnect();
return responseCode;