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 - An idea for quickfixing spring xml files to avoid verbosity
Summary: An idea for quickfixing spring xml files to avoid verbosity
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-12 09:59 UTC by masvacaquecarnero
Modified: 2016-07-10 20:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)