Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-01-13 10:18:44 +0000
committerAlexander Kurtakov2020-01-13 10:46:08 +0000
commit03672e58dbabc9baa60553eb4d4bb3e5aa523686 (patch)
treef8deb9c597cae16aa5c90d28f9c355437451df4c
parent65edfab1a87379e91608dc1bcde4474586eb337e (diff)
downloadrt.equinox.bundles-03672e58dbabc9baa60553eb4d4bb3e5aa523686.tar.gz
rt.equinox.bundles-03672e58dbabc9baa60553eb4d4bb3e5aa523686.tar.xz
rt.equinox.bundles-03672e58dbabc9baa60553eb4d4bb3e5aa523686.zip
Bug 559097 - Compile warnings in I20200113-0130
One is not supposed to close ServlerResponse writer thus suppress the warnings. Change-Id: I300b3736e8d3d3e65ff5080675d47c918fa00470 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/BridgeServlet.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/BridgeServlet.java b/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/BridgeServlet.java
index 49b2a9217..9c3869060 100644
--- a/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/BridgeServlet.java
+++ b/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/BridgeServlet.java
@@ -182,6 +182,7 @@ public class BridgeServlet extends HttpServlet {
* sp_start - Starts a deployed platform
* sp_stop - Stops the platform
*/
+ @SuppressWarnings("resource")
private boolean serviceFrameworkControls(HttpServletRequest req, HttpServletResponse resp) throws IOException {
String pathInfo = req.getPathInfo();
if (pathInfo.equals("/sp_start")) { //$NON-NLS-1$

Back to the top