Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use isNotNil instead of notNil #1826

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading