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.
1. Create any J2EE application and add Spring framework 2. Add following Spring Bean to the project (img_01): <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd"> <http> <intercept-url pattern="/messageList*" access="ROLE_USER,ROLE_ANONYMOUS" /> <intercept-url pattern="/messagePost*" access="ROLE_USER" /> <intercept-url pattern="/messageDelete*" access="ROLE_ADMIN" /> <form-login login-page="/login.jsp" default-target-url="/messageList" authentication-failure-url="/login.jsp?error=true" /> <logout logout-success-url="/login.jsp"/> <remember-me /> </http> <authentication-manager> <authentication-provider> <user-service> <user name="admin" password="secret" authorities="ROLE_ADMIN,ROLE_USER" /> <user name="user1" password="1111" authorities="ROLE_USER" /> </user-service> </authentication-provider> </authentication-manager> </beans:beans> 3. Using Shift+Alt+F reformat the code >> Some parts of code haven't been reformated properly (see img_02), so you have to press Shift+Alt+F again to get correct formatting (img_03) Product Version: NetBeans IDE Dev (Build 201401200001) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 144178 [details] img_01
Created attachment 144179 [details] img_02
Created attachment 144180 [details] img_03
Fixed in jet-main#5425a520c020
Integrated into 'main-silver', will be available in build *201509300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5425a520c020 User: Svata Dedic <sdedic@netbeans.org> Log: #240742: if first attribute moves, other attributes will align with it