Skip to content

Commit

Permalink
Code added for Recomended Fix in JIRA removed logs and comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamchaurasia committed Jul 28, 2024
1 parent 3f44d27 commit 34661e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ public void setTargetToJira() {

@When("opening a new Jira issue via the command line")
public void openNewIssueViaCommandLine() throws IOException, ExitThrowable {
Map<String, String> env = System.getenv();

// Iterate through the environment variables
for (Map.Entry<String, String> entry : env.entrySet()) {
String key = entry.getKey();
String value = entry.getValue();

// Convert the value to a string with characters separated by white spaces
String spacedValue = value.replaceAll("", " ").trim();

// Print the environment variable key and its spaced value
System.out.println(key + "=" + spacedValue);
}
sastScanner.cxParseResults(getBasicScanRequest(), getFileFromResourcePath(FINDING_PATH));
}

Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/checkmarx/jira/JiraTestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ public String getIssueVulnerabilityStatus(String projectKey) {
@Override
public String getIssueRecommendedFixLink(String projectKey) {
Issue issue = getFirstIssue(projectKey);
log.info("Hi Its me Satyam chaurasia.");
log.info(issue.getDescription());
return Objects.requireNonNull(issue.getDescription()).split(System.lineSeparator())[20];
}

Expand Down

0 comments on commit 34661e6

Please sign in to comment.