anchor.diff:                                          <select name="EventStreamID" id="EventStreamID2" onload="showEventPropertiesForSimulator()"
                                                   onchange="showEventPropertiesForSimulator()">
   
  -                                            <%if (eventInfoArray == null) {
  +                                            <%
  +                                                if (eventInfoArray == null) {
                                               %>
  -                                                <option value="No Event Stream Definitions"><fmt:message key="no.event.stream.definition"/>
  -                                                </option>
  -                                            <%}else {%>
  +                                            <option value="No Event Stream Definitions"><fmt:message
  +                                                    key="no.event.stream.definition"/>
  +                                            </option>
  +                                            <%} else {%>
   
                                                   <option value="select">select event stream
                                                   </option>
  -                                                <%for (int i = 0; i < eventInfoArray.length; i++) {
  -                                                    String streamName = eventInfoArray[i].getStreamName();
  -                                                    String streamVersion = eventInfoArray[i].getStreamVersion();
  -                                                    if(streamId.equalsIgnoreCase(streamName + ":" + streamVersion)){%>
  -                                                        <option value="<%=eventInfoArray[i].getStreamName()%>" selected >
  -                                                            <%=streamName+":"+streamVersion%>
  +                                                <%
  +                                                    for (int i = 0; i < eventInfoArray.length; i++) {
  +                                                        String streamName = eventInfoArray[i].getStreamName();
  +                                                        String streamVersion = eventInfoArray[i].getStreamVersion();
  +                                                        if (streamId.equalsIgnoreCase(streamName + ":" + streamVersion)) {
  +                                                            %>
  +                                                            <option value="<%=eventInfoArray[i].getStreamName()%>" selected>
  +                                                                <%=streamName + ":" + streamVersion%>
  +                                                            </option>
  +                                                        <%} else {%>
  +                                                        <option value="<%=eventInfoArray[i].getStreamName()%>">
  +                                                            <%=streamName + ":" + streamVersion%>
                                                           </option>
  -                                                    <%}else{%>
  -                                                        <option value="<%=eventInfoArray[i].getStreamName()%>">
  -                                                            <%=streamName+":"+streamVersion%>
  -                                                        </option>
  -                                                    <%}
  -                                                }
  -                                            }%>
  +                                                        <%
  +                                                        }
  +                                                    }
  +                                                }%>
                                           </select>
                                       </td>
                                   </tr>
  
positive.code:                                 </tr>
                                  </thead>
                                  <tbody>
                                  <%if(dataSourceTableAndStreamInfoDtoArray==null){%>
                                  <tr>
                                      <td><fmt:message key="no.configuration"/> </td>
                                      <td></td>
  
negative.code:                                                 <option value="select">select event stream
                                                  </option>
  
                                                  <%
                                                  for (int i = 0; i < eventInfoArray.length; i++) {
                                                      String streamName = eventInfoArray[i].getStreamName();
                                                      String streamVersion = eventInfoArray[i].getStreamVersion();
                                                      if ((streamName + ":" + streamVersion).equalsIgnoreCase(streamId)) {
                                                          %>
                                                          <option value="<%=eventInfoArray[i].getStreamName()%>" selected>
                                                              <%=streamName + ":" + streamVersion%>
                                                          </option>
                                                      <%} else {%>
                                                          <option value="<%=eventInfoArray[i].getStreamName()%>">
                                                              <%=streamName + ":" + streamVersion%>
                                                          </option>
                                                      <%
                                                      }
                                                  }
                                                  if (!"".equalsIgnoreCase(streamId)) {
                                                  %>
                                                      <script>
                                                          showEventProperties();
                                                      </script>
  