File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >org.kohsuke</groupId >
44 <artifactId >cortexapps-github-api</artifactId >
5- <version >1.319 </version >
5+ <version >1.320 </version >
66 <name >GitHub API for Java</name >
77 <url >https://github-api.kohsuke.org/</url >
88 <description >GitHub API for Java</description >
Original file line number Diff line number Diff line change @@ -253,19 +253,19 @@ public static class Parent {
253253 /**
254254 * The Class User.
255255 */
256- static class User {
256+ public static class User {
257257
258258 /** The gravatar id. */
259259 // TODO: what if someone who doesn't have an account on GitHub makes a commit?
260260 @ SuppressFBWarnings (value = "UUF_UNUSED_FIELD" , justification = "We don't provide it in API now" )
261- String url , avatar_url , gravatar_id ;
261+ public String url , avatar_url , gravatar_id ;
262262
263263 /** The id. */
264264 @ SuppressFBWarnings (value = "UUF_UNUSED_FIELD" , justification = "We don't provide it in API now" )
265265 int id ;
266266
267267 /** The login. */
268- String login ;
268+ public String login ;
269269 }
270270
271271 /** The sha. */
@@ -471,6 +471,17 @@ public GHUser getAuthor() throws IOException {
471471 return resolveUser (author );
472472 }
473473
474+ /**
475+ * Gets author.
476+ *
477+ * @return the author
478+ * @throws IOException
479+ * the io exception
480+ */
481+ public User getAuthorRaw () throws IOException {
482+ return author ;
483+ }
484+
474485 /**
475486 * Gets the date the change was authored on.
476487 *
You can’t perform that action at this time.
0 commit comments