Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Build Members bean from existing Document, not a new File
Browse files Browse the repository at this point in the history
As well as reducing the number of times we read the members.xml file,
this will also allow us to reduce the number of constructors in that
API.
  • Loading branch information
iay committed Sep 14, 2016
1 parent d454bc7 commit a8b997d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,8 @@
This bean implements an API for access to the contents of the members.xml document.
-->
<bean id="uk_members" class="uk.org.ukfederation.members.Members">
<constructor-arg>
<bean class="java.io.File">
<constructor-arg value="${members.dir}/members.xml"/>
</bean>
</constructor-arg>
</bean>
<bean id="uk_members" class="uk.org.ukfederation.members.Members"
c:_-ref="uk_membersDocument"/>


<!--
Expand Down

0 comments on commit a8b997d

Please sign in to comment.