Skip to content

Commit

Permalink
javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
seregamorph committed Sep 26, 2020
1 parent 6360112 commit 6e3f754
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/org/kohsuke/github/GitUser.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import java.util.Date;

import javax.annotation.CheckForNull;

/**
* Represents a user in Git who authors/commits a commit.
* <p>
Expand Down Expand Up @@ -36,10 +38,13 @@ public String getEmail() {
}

/**
* Gets username.
* Gets username. Note: it presents only in events.
*
* @return GitHub username
*/
@Preview
@Deprecated
@CheckForNull
public String getUsername() {
return username;
}
Expand Down

0 comments on commit 6e3f754

Please sign in to comment.