Skip to content

Commit 2207b62

Browse files
committed
Update Fingerprint.java
1 parent 0bdb979 commit 2207b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/hudson/model/Fingerprint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ protected Object readResolve() {
10361036
}
10371037

10381038
void addWithoutSaving(@NonNull String jobFullName, int n) {
1039-
synchronized (this) {
1039+
synchronized (usages) { // TODO why not synchronized (this) like some, though not all, other accesses?
10401040
RangeSet r = usages.get(jobFullName);
10411041
if (r == null) {
10421042
r = new RangeSet();

0 commit comments

Comments
 (0)