Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cics PUT CONTAINER improvements #2598

Open
wants to merge 21 commits into
base: development
Choose a base branch
from

Conversation

mm-broadcom
Copy link
Contributor

How Has This Been Tested?

Created both valid and invalid instances and added tests verifying as such.

Checklist:

  • Each of my commits contains one meaningful change
  • I have performed rebase of my branch on top of the development
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

@mm-broadcom
Copy link
Contributor Author

@KutluOzel-b Could you review this?

mm-broadcom and others added 6 commits December 2, 2024 08:41
…tCicsPutContainerStatement.java

Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java

Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java

Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java

Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
Copy link
Contributor

@KutluOzel-b KutluOzel-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@@ -147,6 +150,9 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro
optionsMap.put(
CICSWriteOptionsCheckUtility.RULE_INDEX,
new CICSWriteOptionsCheckUtility(context, errors));
optionsMap.put(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks unrelated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate.

@ap891843
Copy link
Contributor

LGTM! waiting for the merge conflicts to be resolved

@@ -157,17 +160,14 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro
CICSEnqOptionsCheckUtility.RULE_INDEX,
new CICSEnqOptionsCheckUtility(context, errors));
optionsMap.put(
CICSWriteOptionsCheckUtility.RULE_INDEX,
new CICSWriteOptionsCheckUtility(context, errors));
CICSWSAEPRUtility.RULE_INDEX,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CICSWriteOptionsCheckUtility was removed from the list in the last commit.

private static final Map<Integer, ErrorSeverity> DUPLICATE_CHECK_OPTIONS =
new HashMap<Integer, ErrorSeverity>() {
{
put(CICSLexer.PUT, ErrorSeverity.ERROR);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PUT is not an operand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants