Skip to Content.
Sympa Menu

notify-dpml - r1315 - 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: r1315 - trunk/main/depot/library/src/main/net/dpml/library/impl
  • Date: Wed, 5 Apr 2006 18:42:16 +0200

Author: mcconnell
Date: 2006-04-05 18:42:09 +0200 (Wed, 05 Apr 2006)
New Revision: 1315

Modified:

trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultResource.java
Log:
fix bug in version resolution

Modified:
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultResource.java
===================================================================
---
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultResource.java
2006-04-05 16:30:21 UTC (rev 1314)
+++
trunk/main/depot/library/src/main/net/dpml/library/impl/DefaultResource.java
2006-04-05 16:42:09 UTC (rev 1315)
@@ -73,7 +73,7 @@
private final String m_path;
private final File m_basedir;
private final Logger m_logger;
- private final String m_version;
+ private String m_version;

/**
* Creation of a new default resource.
@@ -93,7 +93,6 @@
m_path = "";
m_basedir = null;
m_logger = logger;
- m_version = resolveVersion();
}

/**
@@ -115,7 +114,6 @@
m_directive = directive;
m_parent = module;
m_logger = logger;
- m_version = resolveVersion();

if( module.isRoot() )
{
@@ -215,6 +213,10 @@
*/
public String getVersion()
{
+ if( null == m_version )
+ {
+ m_version = resolveVersion();
+ }
return m_version;
}





  • r1315 - trunk/main/depot/library/src/main/net/dpml/library/impl, mcconnell at BerliOS, 04/05/2006

Archive powered by MHonArc 2.6.24.

Top of Page