Skip to content

Commit

Permalink
NMS-7828: added curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
muratyildiz1976 committed Oct 7, 2015
1 parent f860ff4 commit 4428fee
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ public void doPost(HttpServletRequest request, HttpServletResponse response) thr
List<String> serviceList = new ArrayList<String>();

// the list of all interfaces marked as managed
if(request.getParameterValues("interfaceCheck") != null)
if(request.getParameterValues("interfaceCheck") != null) {
interfaceList = Arrays.asList(request.getParameterValues("interfaceCheck"));
}

// the list of all services marked as managed
if(request.getParameterValues("serviceCheck") != null)
if(request.getParameterValues("serviceCheck") != null) {
serviceList = Arrays.asList(request.getParameterValues("serviceCheck"));
}

// the list of interfaces that need to be put into the URL file
List<String> addToURL = new ArrayList<String>();
Expand Down

0 comments on commit 4428fee

Please sign in to comment.