notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1873 - trunk/main/metro/part/src/main/net/dpml/runtime
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1873 - trunk/main/metro/part/src/main/net/dpml/runtime
- Date: Sat, 17 Feb 2007 09:04:50 +0100
Author: mcconnell
Date: 2007-02-17 09:04:49 +0100 (Sat, 17 Feb 2007)
New Revision: 1873
Modified:
trunk/main/metro/part/src/main/net/dpml/runtime/ComponentStrategy.java
Log:
impl simplification
Modified:
trunk/main/metro/part/src/main/net/dpml/runtime/ComponentStrategy.java
===================================================================
--- trunk/main/metro/part/src/main/net/dpml/runtime/ComponentStrategy.java
2007-02-15 08:05:51 UTC (rev 1872)
+++ trunk/main/metro/part/src/main/net/dpml/runtime/ComponentStrategy.java
2007-02-17 08:04:49 UTC (rev 1873)
@@ -123,16 +123,8 @@
m_map.put( "path", m_path );
m_map.put( "work", new File( System.getProperty( "user.dir" )
).getCanonicalFile() );
m_map.put( "temp", new File( System.getProperty( "java.io.tmpdir" )
).getCanonicalFile() );
+ m_map.put( "uri", URI.create( "component:" + m_path ) );
- try
- {
- m_map.put( "uri", new URI( "component:" + m_path ) );
- }
- catch( Exception e )
- {
- e.printStackTrace();
- }
-
if( m_logger.isTraceEnabled() )
{
final String message =
- r1873 - trunk/main/metro/part/src/main/net/dpml/runtime, mcconnell at BerliOS, 02/17/2007
Archive powered by MHonArc 2.6.24.