Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Merge pull request #51 from topcoder-platform/v5-payment-jira-id-patch
Browse files Browse the repository at this point in the history
fix class casting issue
  • Loading branch information
ajefts authored Jun 22, 2021
2 parents 2dc964c + 517fa46 commit 0ca9fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/com/topcoder/web/ejb/pacts/PactsServicesBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -6439,8 +6439,8 @@ private Payment createPayment(BasePayment payment) {
break;
default:
// Set the jira ID all the time to support v5
log.info("*** Jira ID (Create Payment): " + ((CockpitProjectReferencePayment) payment).getJiraIssueName());
p.getHeader().setJiraIssueName(((CockpitProjectReferencePayment) payment).getJiraIssueName());
log.info("*** Jira ID (Create Payment): " + ((NoReferencePayment) payment).getJiraIssueName());
p.getHeader().setJiraIssueName(((NoReferencePayment) payment).getJiraIssueName());
}


Expand Down

0 comments on commit 0ca9fb3

Please sign in to comment.