Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1244 - development/main/magic/core/src/main/net/dpml/magic/model

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1244 - development/main/magic/core/src/main/net/dpml/magic/model
  • Date: Sat, 18 Dec 2004 02:03:31 +0100

Author: mcconnell
Date: Sat Dec 18 02:03:31 2004
New Revision: 1244

Modified:
development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
Log:
add checking for the lkength of references in the equivalent resource

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
Sat Dec 18 02:03:31 2004
@@ -301,6 +301,12 @@

final ResourceRef[] refs = getResourceRefs();
final ResourceRef[] references = def.getResourceRefs();
+
+ if( refs.length != references.length )
+ {
+ return false;
+ }
+
for( int i=0; i<refs.length; i++ )
{
if( !refs[i].equals( references[i] ) )



  • svn commit: r1244 - development/main/magic/core/src/main/net/dpml/magic/model, mcconnell, 12/17/2004

Archive powered by MHonArc 2.6.24.

Top of Page