Skip to content

Commit

Permalink
added a constructor to Issue class
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyOnGitHub committed Apr 5, 2021
1 parent 0a1e664 commit e7d4eff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/taskadapter/redmineapi/bean/Issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ public Issue() {
initCollections(storage);
}

public Issue(Transport transport) {
this();
setTransport(transport);
}

/**
* Each Issue object must have project Id set in order for Redmine 3.x to accept it via REST API.
Expand Down

0 comments on commit e7d4eff

Please sign in to comment.