notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2332 - development/main/magic/core/src/main/net/dpml/magic/model
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2332 - development/main/magic/core/src/main/net/dpml/magic/model
- Date: Wed, 20 Apr 2005 16:06:58 -0400
Author: niclas AT hedhman.org
Date: Wed Apr 20 16:06:57 2005
New Revision: 2332
Modified:
development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
Log:
Breaking apart an expression to aid in debugging.
Modified:
development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
==============================================================================
--- development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
(original)
+++ development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
Wed Apr 20 16:06:57 2005
@@ -434,10 +434,11 @@
public String getFilename( final String type )
{
- final String name = getInfo().getName();
- if( null != getInfo().getVersion() )
+ final Info info = getInfo();
+ final String name = info.getName();
+ if( null != info.getVersion() )
{
- return name + "-" + getInfo().getVersion() + "." + type;
+ return name + "-" + info.getVersion() + "." + type;
}
else
{
- svn commit: r2332 - development/main/magic/core/src/main/net/dpml/magic/model, niclas, 04/20/2005
Archive powered by MHonArc 2.6.24.