File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
core/src/main/java/hudson/model Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -2672,15 +2672,7 @@ protected NotWaitingItem(NotWaitingItem ni) {
26722672 * {@link Item} in the {@link Queue#blockedProjects} stage.
26732673 */
26742674 public final class BlockedItem extends NotWaitingItem {
2675- private transient CauseOfBlockage causeOfBlockage = null ;
2676-
2677- public BlockedItem (WaitingItem wi ) {
2678- this (wi , null );
2679- }
2680-
2681- public BlockedItem (NotWaitingItem ni ) {
2682- this (ni , null );
2683- }
2675+ private final transient CauseOfBlockage causeOfBlockage ;
26842676
26852677 BlockedItem (WaitingItem wi , CauseOfBlockage causeOfBlockage ) {
26862678 super (wi );
@@ -2692,10 +2684,6 @@ public BlockedItem(NotWaitingItem ni) {
26922684 this .causeOfBlockage = causeOfBlockage ;
26932685 }
26942686
2695- void setCauseOfBlockage (CauseOfBlockage causeOfBlockage ) {
2696- this .causeOfBlockage = causeOfBlockage ;
2697- }
2698-
26992687 @ Restricted (NoExternalUse .class )
27002688 public boolean isCauseOfBlockageNull () {
27012689 if (causeOfBlockage == null ) {
You can’t perform that action at this time.
0 commit comments