On 21/05/07, Brett Porter <[EMAIL PROTECTED]> wrote:
It seems more that you'd need to change the code that is relying on
the isSnapshot result from the wrong directory?

The code is fair enough given the limitation of a boolean return type:

ArtifactRepositoryPolicy policy =
  metadata.isSnapshot() ? repository.getSnapshots() : repository.getReleases();

How could the caller make a more intelligent decision without making
the metadata more expressive?

Cheers,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to