Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9de2be8

Browse files
authored
Fix whitespace issues in OpenStream.java
1 parent b622e2a commit 9de2be8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
public class TestServlet extends HttpServlet {
2-
protected void doGet(HttpServletRequest request, HttpServletResponse response)
3-
throws ServletException, IOException {
4-
// BAD: a URL from a remote source is opened with URL#openStream()
2+
protected void doGet(HttpServletRequest request, HttpServletResponse response)
3+
throws ServletException, IOException {
4+
// BAD: a URL from a remote source is opened with URL#openStream()
55
URL url = new URL(request.getParameter("url"));
66
InputStream inputStream = new URL(url).openStream();
7-
}
7+
}
88
}

0 commit comments

Comments
 (0)