File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 2
2
<modelVersion >4.0.0</modelVersion >
3
3
<groupId >org.kohsuke</groupId >
4
4
<artifactId >cortexapps-github-api</artifactId >
5
- <version >1.321 </version >
5
+ <version >1.322 </version >
6
6
<name >GitHub API for Java</name >
7
7
<url >https://github-api.kohsuke.org/</url >
8
8
<description >GitHub API for Java</description >
Original file line number Diff line number Diff line change @@ -55,18 +55,7 @@ protected synchronized void populate() throws IOException {
55
55
if (isOffline ()) {
56
56
return ; // cannot populate, will have to live with what we have
57
57
}
58
- String path = getUrlPath ();
59
- if (path != null ) {
60
- root ().createRequest ().withUrlPath (path ).fetchInto (this );
61
- }
62
- }
63
-
64
- private String getUrlPath () {
65
- URL url = getUrl (); // Get the full URL
66
- if (url != null ) {
67
- return url .getPath (); // Extract only the relative path
68
- }
69
- return null ;
58
+ root ().createRequest ().withUrlPath ("/users/" + login ).fetchInto (this );
70
59
}
71
60
72
61
/**
You can’t perform that action at this time.
0 commit comments