podam icon indicating copy to clipboard operation
podam copied to clipboard

Podam fails to select right annotation in case a field has multiple annotations

Open Mdoniseter opened this issue 10 years ago • 6 comments

A sample POJO

public class Test {

    @PodamStringValue(length = 3)
    @Length(min = 3, max = 3)
    String field;
}

Mdoniseter avatar Jun 24 '16 15:06 Mdoniseter

So, basically, if a Podam annotation is present on a attribute/method, all the other annotations should be ignored.

maxdidato avatar Jan 12 '17 10:01 maxdidato

Yes, I think this is the best approach.

daivanov avatar Jan 12 '17 12:01 daivanov

What is the best way to contribute? I cannot see any information on the ReadME. You want the pull request created against develop?

maxdidato avatar Jan 12 '17 14:01 maxdidato

Yes, develop is the development branch. But patch with 20 changed files with 1,983 additions and 1,979 deletions has very little chance of merging ;)

daivanov avatar Jan 12 '17 15:01 daivanov

Fixed in Podam 7.0.5.

daivanov avatar Jan 14 '17 21:01 daivanov

You can try Podam's snapshot.

daivanov avatar Jan 15 '17 12:01 daivanov