Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2090 - development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2090 - development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder
  • Date: Sat, 19 Mar 2005 17:40:20 -0500

Author: mcconnell AT dpml.net
Date: Sat Mar 19 17:40:20 2005
New Revision: 2090

Modified:

development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder/ProfilePackageBuilder.java
Log:
Improve handling concerning implicit profiles.

Modified:
development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder/ProfilePackageBuilder.java
==============================================================================
---
development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder/ProfilePackageBuilder.java
(original)
+++
development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder/ProfilePackageBuilder.java
Sat Mar 19 17:40:20 2005
@@ -73,10 +73,6 @@
{
return profiles;
}
- else if( strict )
- {
- return ProfilePackage.EMPTY_PACKAGE;
- }
else
{
final String classname = clazz.getName();
@@ -86,9 +82,16 @@
clazz.getClassLoader().getResourceAsStream( xprofile );
if( stream == null )
{
- ComponentProfile profile =
- new ComponentProfile( name, classname );
- return new ProfilePackage( new ComponentProfile[]{ profile }
);
+ if( strict )
+ {
+ return ProfilePackage.EMPTY_PACKAGE;
+ }
+ else
+ {
+ ComponentProfile profile =
+ new ComponentProfile( name, classname );
+ return new ProfilePackage( new ComponentProfile[]{
profile } );
+ }
}
else
{



  • svn commit: r2090 - development/main/metro/composition/impl/src/main/net/dpml/composition/data/builder, mcconnell, 03/19/2005

Archive powered by MHonArc 2.6.24.

Top of Page