This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160734 - bizarre reformat task
Summary: bizarre reformat task
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 14:17 UTC by Jindrich Sedek
Modified: 2016-07-07 08:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-03-20 14:17:27 UTC
use this code in JSP file:
---------------------------
<c:forEach var="customer" items="${customers}">
    <c:choose>
        <c:when test="${customer.address.country == 'USA'}">
            <font color="blue">
            </c:when>
            <c:when test="${customer.address.country == 'Canada'}">
                <font color="red">
                </c:when>
                <c:otherwise>
                    <font color="green">
                    </c:otherwise>
                </c:choose>
                  ${customer}
            </font><br>
        </c:forEach>
---------------------
invoke reformat -> no change
I believe it's not very offten case to generate more start tags and only one end tag -> P4
Comment 1 Martin Balin 2016-07-07 08:52:59 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss