Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

WADL: fix repeating param support#9

Open
mfulton26 wants to merge 1 commit intojavaee:masterfrom
mfulton26:repeatedWadlParam
Open

WADL: fix repeating param support#9
mfulton26 wants to merge 1 commit intojavaee:masterfrom
mfulton26:repeatedWadlParam

Conversation

@mfulton26
Copy link
Copy Markdown

Checking Class.isArray() doesn't work as Jersey params cannot be arrays.

This patch replaces the pClass.isArray() check with an
Iterable.class.isAssignableFrom(pClass) check and then uses the
ParameterizedType (if available) to determine the wadl:type.

Checking Class.isArray() doesn't work as Jersey params cannot be arrays.

This patch replaces the pClass.isArray() check with an
Iterable.class.isAssignableFrom(pClass) check and then uses the
ParameterizedType (if available) to determine the wadl:type.
@mgajdos
Copy link
Copy Markdown
Contributor

mgajdos commented Feb 2, 2015

Hi Mark,
thanks for your contribution.

Before we can review your pull request, we need you to sign Oracle Contributor Agreement.

More information about contributing to Jersey: https://jersey.java.net/scm.html#/Submitting_Patches_and_Contribute_Code…

Regards,
Michal

@mfulton26
Copy link
Copy Markdown
Author

Thank you @mgajdos for the comment. I have emailed a signed copy of the OCA to oracle-ca_us@oracle.com.

@mfulton26
Copy link
Copy Markdown
Author

FYI: My OCA has been reviewed and approved.

@mfulton26
Copy link
Copy Markdown
Author

@mgajdos can this be reviewed now that my OCA has been reviewed and approved?

@mpotociar
Copy link
Copy Markdown
Contributor

Hi Mark,

Sorry that it took so long for us to review your OCA approval. I have now checked that your OCA has been approved and then reviewed the code. It looks good to me, however, we require that any bug fix comes with an associated reproducer unit test.

Please feel free to update the existing WADL tests suite with a new test that reproduces the issue and verifies the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants