mcconnell 2002/07/14 03:43:45
Modified: assembly/src/java/org/apache/excalibur/merlin/container
DefaultContainer.java
Log:
moved contains from prublic to private
Revision Changes Path
1.8 +12 -6
jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/DefaultContainer.java
Index: DefaultContainer.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/DefaultContainer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DefaultContainer.java 13 Jul 2002 21:28:18 -0000 1.7
+++ DefaultContainer.java 14 Jul 2002 10:43:45 -0000 1.8
@@ -407,11 +407,6 @@
// Container
//=======================================================================
- public boolean contains( Profile profile )
- {
- return m_profiles.isLocalProfile( profile );
- }
-
public Profile[] getProviders( ServiceDesignator designator )
{
Profile[] local = m_profiles.getProviders( designator );
@@ -472,6 +467,17 @@
//=======================================================================
// private
//=======================================================================
+
+ /**
+ * Test if the container is managing a supplied profile.
+ * @param profile the profile
+ * @return TRUE if the profile is managed by the container.
+ */
+ private boolean contains( Profile profile )
+ {
+ return m_profiles.isLocalProfile( profile );
+ }
+
/**
* Internal verification of the container.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>