Skip to Content.
Sympa Menu

notify-dpml - r1688 - trunk/main/depot/library/src/main/net/dpml/library/impl

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1688 - trunk/main/depot/library/src/main/net/dpml/library/impl
  • Date: Wed, 26 Jul 2006 19:47:22 +0200

Author: mcconnell
Date: 2006-07-26 19:47:19 +0200 (Wed, 26 Jul 2006)
New Revision: 1688

Modified:
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultModule.java
Log:
housekeeping

Modified:
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultModule.java
===================================================================
---
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultModule.java
2006-07-26 17:23:34 UTC (rev 1687)
+++
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultModule.java
2006-07-26 17:47:19 UTC (rev 1688)
@@ -361,36 +361,10 @@

String path = getResourcePath();
return exportModule( this, path );
- //ModuleDirective directive = (ModuleDirective) exportResource(
this );
- //return parent.createWrappedDirective( directive );
}
}

/**
- * When exporting a sub-module we need to wrap the submodule in module
- * directives of the enclosing modules. This method handles this
recusive
- * wrapping function.
- * @param directive the directive to wrap
- * @return a top-level module directive containing the wrapped resource
- */
- /*
- private ModuleDirective createWrappedDirective( final ResourceDirective
directive )
- {
- String name = getName();
- DefaultModule parent = getDefaultParent();
- if( null == parent )
- {
- return new ModuleDirective( name, directive );
- }
- else
- {
- ModuleDirective module = new ModuleDirective( name, directive );
- return parent.createWrappedDirective( module );
- }
- }
- */
-
- /**
* Return a directive suitable for publication as an external description.
* @param module the enclosing module
* @return the resource directive




  • r1688 - trunk/main/depot/library/src/main/net/dpml/library/impl, mcconnell at BerliOS, 07/26/2006

Archive powered by MHonArc 2.6.24.

Top of Page