# HG changeset patch # User Stefan Vogel # Date 1522147586 -7200 # Node ID b52cf51265614cf1198059fecf848c8cb1adda2e # Parent b8d6e0d0e45ee29ae950565b38d671c3588a29ea #REFACTORING by stefan class: HGStatus class removed: #theOnlyInstance functionality is now in superclass diff -r b8d6e0d0e45e -r b52cf5126561 mercurial/HGStatus.st --- a/mercurial/HGStatus.st Mon Mar 12 15:52:52 2018 +0100 +++ b/mercurial/HGStatus.st Tue Mar 27 12:46:26 2018 +0200 @@ -115,19 +115,6 @@ self error:'Invalid status code: ', aCharacter "Created: / 23-10-2012 / 10:56:35 / Jan Vrany " -! - -theOnlyInstance - theOnlyInstance isNil ifTrue:[ - Lock critical:[ - theOnlyInstance isNil ifTrue:[ - theOnlyInstance := self new - ]. - ] - ]. - ^ theOnlyInstance. - - "Created: / 09-11-2012 / 12:04:17 / Jan Vrany " ! ! !HGStatus class methodsFor:'accessing'!