From b909ee17094a58642f7cc0da451061e9e4e0341c Mon Sep 17 00:00:00 2001 From: Norbert Hartl Date: Fri, 23 Jun 2023 20:38:42 +0200 Subject: [PATCH] Switch not needed because nil can be indeed the receiver --- source/SnapDump-Core/SDException.class.st | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/SnapDump-Core/SDException.class.st b/source/SnapDump-Core/SDException.class.st index 4b8e7fb..8725d77 100644 --- a/source/SnapDump-Core/SDException.class.st +++ b/source/SnapDump-Core/SDException.class.st @@ -107,10 +107,7 @@ SDException >> initializeExceptionProperties [ { #category : #initialization } SDException >> initializeFromClassName: aName receiver: aReceiver method: aSmalltalkMethod [ - exceptionSignalerClassName := aReceiver - ifNotNil: [ aReceiver class name asString ] - ifNil: [ aSmalltalkMethod classBinding value asString ]. - + exceptionSignalerClassName := aReceiver class name asString. exceptionSignalerSelector := aSmalltalkMethod selector asString. exceptionClassName := aName ]