Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2561 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit

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: r2561 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit
  • Date: Sun, 15 May 2005 13:08:36 +0000

Author: mcconnell AT dpml.net
Date: Sun May 15 13:08:34 2005
New Revision: 2561

Modified:

development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionContentHandler.java

development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
Log:


Modified:
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionContentHandler.java
==============================================================================
---
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionContentHandler.java
(original)
+++
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionContentHandler.java
Sun May 15 13:08:34 2005
@@ -87,23 +87,31 @@
this( getWorkingDir() );
}

- public CompositionContentHandler( File base ) throws Exception
+ private CompositionContentHandler( File base ) throws Exception
{
this( base, new Hashtable() );
}

- public CompositionContentHandler( Map map ) throws Exception
+ private CompositionContentHandler( Map map ) throws Exception
{
this( getWorkingDir(), map );
}

- public CompositionContentHandler( boolean debug ) throws Exception
+ private CompositionContentHandler( boolean debug ) throws Exception
{
this( getWorkingDir(), getSystemContextMap( debug ) );
}

- public CompositionContentHandler( File base, Map map ) throws Exception
+ private CompositionContentHandler( File base, Map map ) throws Exception
{
+ if( null == base )
+ {
+ throw new NullPointerException( "base" );
+ }
+ if( null == map )
+ {
+ throw new NullPointerException( "map" );
+ }
m_system = createSystemContext( map, base );
m_manager = new CompositionManager( m_system, new String[0] );
}

Modified:
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
==============================================================================
---
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
(original)
+++
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
Sun May 15 13:08:34 2005
@@ -96,6 +96,14 @@

public CompositionHelper( File base, Map map ) throws Exception
{
+ if( null == base )
+ {
+ throw new NullPointerException( "base" );
+ }
+ if( null == map )
+ {
+ throw new NullPointerException( "map" );
+ }
m_system = createSystemContext( map, base );
m_manager = new CompositionManager( m_system, new String[0] );
}



  • svn commit: r2561 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit, mcconnell, 05/15/2005

Archive powered by MHonArc 2.6.24.

Top of Page