Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 15163ff

Browse files
committed
Avoid multiple concurrent population
1 parent b898284 commit 15163ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/kohsuke/github/GHPerson.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public abstract class GHPerson extends GHObject {
3636
*
3737
* Depending on the original API call where this object is created, it may not contain everything.
3838
*/
39-
protected void populate() throws IOException {
39+
protected synchronized void populate() throws IOException {
4040
if (created_at!=null) return; // already populated
4141

4242
root.retrieve().to(url, this);

0 commit comments

Comments
 (0)