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 155314

Summary: An idea for quickfixing spring xml files to avoid verbosity
Product: javaee Reporter: masvacaquecarnero <masvacaquecarnero>
Component: SpringAssignee: Martin Fousek <marfous>
Status: REOPENED ---    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description masvacaquecarnero 2008-12-12 09:59:41 UTC
In the past, XML verbosity has been a problem in spring. Later versions of spring solve this problem by adding shortcuts and namespaces. It should be 
terrific to add a quick fix to change this:

 <bean class="myclass">
    <property name="companyName">
        <value>redcetus</value>
    </property>
 </bean>

into this:
 <bean class="myclass">
    <property name="companyName" value="redcetus"/>
 </bean>

 or even into this:
 <bean class="myclass" p:companyName="redcetus"/>
Comment 1 Martin Balin 2016-07-07 08:53:38 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
Comment 2 markiewb 2016-07-10 20:44:44 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)