Skip to content

Commit

Permalink
Merge pull request #1826 from astares/1825-Use-isNotNil-instead-of-no…
Browse files Browse the repository at this point in the history
…tNil

Use isNotNil instead of notNil
  • Loading branch information
MarcusDenker authored May 28, 2024
2 parents 2644368 + 5e58740 commit 4c9079e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Iceberg-TipUI/IceCheckoutStrategy.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Extension { #name : 'IceCheckoutStrategy' }

{ #category : '*Iceberg-TipUI' }
IceCheckoutStrategy >> description [

^ self class description
IceCheckoutStrategy class >> description [
^ self subclassResponsibility
]

{ #category : '*Iceberg-TipUI' }
IceCheckoutStrategy class >> description [
^ self subclassResponsibility
IceCheckoutStrategy >> description [

^ self class description
]
2 changes: 1 addition & 1 deletion Iceberg-TipUI/IceTipDiffPanel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ IceTipDiffPanel >> diffEntryRemoved: announcement [
no parent, but it's fine to just leave it there empty--though perhaps we should
close the browser instead in that case?"
[
parent parent notNil and: [
parent parent isNotNil and: [
parent isEmpty and: [
parent value isNoModification or: [
parent value definition isExtensionDefinition ] ] ] ] whileTrue: [
Expand Down
4 changes: 2 additions & 2 deletions Iceberg-TipUI/IceTipResetBranchToThisCommitCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ IceTipResetBranchToThisCommitCommand class >> defaultDescription [
{ #category : 'testing' }
IceTipResetBranchToThisCommitCommand >> canBeExecuted [

^ self selectedBranch notNil
^ self selectedBranch isNotNil
]

{ #category : 'executing' }
Expand Down Expand Up @@ -57,7 +57,7 @@ IceTipResetBranchToThisCommitCommand >> selectedBranch [

| selected |
selected := self context model.
^ (selected notNil and: [ selected isBranch ]) ifTrue: [ selected ]
^ (selected isNotNil and: [ selected isBranch ]) ifTrue: [ selected ]
]

{ #category : 'accessing' }
Expand Down

0 comments on commit 4c9079e

Please sign in to comment.