Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a88e9b2

Browse filesBrowse files
Update src/main/java/org/kohsuke/github/GHDiscussion.java
Change the visibility of the fields from protected to private. Add @JacksonInject annotation. Rename html_url to htmlUrl as needed by Jackson Co-authored-by: Liam Newman <bitwiseman@gmail.com>
1 parent f0a3c26 commit a88e9b2
Copy full SHA for a88e9b2

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed

‎src/main/java/org/kohsuke/github/GHDiscussion.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHDiscussion.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
*/
1111
public class GHDiscussion extends GHObject {
1212

13-
protected GitHub root;
14-
protected GHOrganization organization;
15-
protected GHTeam team;
16-
protected String body, title, html_url;
13+
@JacksonInject
14+
private GitHub root;
15+
private GHOrganization organization;
16+
private GHTeam team;
17+
private String body, title, htmlUrl;
1718

1819
@Override
1920
public URL getHtmlUrl() throws IOException {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.