maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Walding <...@walding.com>
Subject Dependency logic
Date Sun, 11 Jan 2004 10:39:49 GMT
Just getting into the reactor and I've found what looks like an error in 
logic to me.  Shouldn't it be (in the code pasted below)

if (!blah blah blah)


I've got the reactor tag ordering thingamajig working now.  Will start 
committing it later tonight.

Cheers,

Ben

/**
     * Add a unique dependency for this project.
     *
     * @param dependency Dependency for this project.
     */
    public void addDependency( Dependency dependency )
    {
        if ( getModel().getDependencies().contains( dependency ) )
        {
            getModel().addDependency( dependency );

            dependencyMap.put( dependency.getId(), dependency );
        }
    }




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message