Skip to content

Commit

Permalink
Merge pull request #10019 from slide/allow-subclasses-to-call-updateData
Browse files Browse the repository at this point in the history
Allow subclasses of UpdateSite to call updateData
  • Loading branch information
krisstern authored Dec 5, 2024
2 parents 171df4d + 966e586 commit 7d8d2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/UpdateSite.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public long getDataTimestamp() {
return updateData(DownloadService.loadJSON(new URL(getUrl() + "?id=" + URLEncoder.encode(getId(), StandardCharsets.UTF_8) + "&version=" + URLEncoder.encode(Jenkins.VERSION, StandardCharsets.UTF_8))), signatureCheck);
}

private FormValidation updateData(String json, boolean signatureCheck)
protected FormValidation updateData(String json, boolean signatureCheck)
throws IOException {

dataTimestamp = System.currentTimeMillis();
Expand Down

0 comments on commit 7d8d2a6

Please sign in to comment.