From 3f21a3b529b8cd8b01a137c2a35b9b31e16238d4 Mon Sep 17 00:00:00 2001 From: Yasin Date: Sat, 7 Oct 2017 00:05:40 +0530 Subject: [PATCH] Removed unintentionally commented code (#2711) --- .../src/main/java/com/baeldung/jira/MyJiraClient.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/src/main/java/com/baeldung/jira/MyJiraClient.java b/libraries/src/main/java/com/baeldung/jira/MyJiraClient.java index 17e223b204..62cce56532 100644 --- a/libraries/src/main/java/com/baeldung/jira/MyJiraClient.java +++ b/libraries/src/main/java/com/baeldung/jira/MyJiraClient.java @@ -33,13 +33,12 @@ public class MyJiraClient { MyJiraClient myJiraClient = new MyJiraClient("user.name", "pass", "http://jira.company.com"); -// final String issueKey = myJiraClient.createIssue("ABCD", 1L, "Issue created from JRJC"); - final String issueKey = "BAEL-1139"; -// myJiraClient.updateIssueDescription(issueKey, "This is description from my Jira Client"); + final String issueKey = myJiraClient.createIssue("ABCD", 1L, "Issue created from JRJC"); + myJiraClient.updateIssueDescription(issueKey, "This is description from my Jira Client"); Issue issue = myJiraClient.getIssue(issueKey); System.out.println(issue.getDescription()); - /*myJiraClient.voteForAnIssue(issue); + myJiraClient.voteForAnIssue(issue); System.out.println(myJiraClient.getTotalVotesCount(issueKey)); @@ -49,7 +48,7 @@ public class MyJiraClient { comments.forEach(c -> System.out.println(c.getBody())); myJiraClient.deleteIssue(issueKey, true); -*/ + myJiraClient.restClient.close(); }