Skip to content

Commit

Permalink
Merge pull request #1524 from tesonep/1468-IceProxyMCVersionInfogtDis…
Browse files Browse the repository at this point in the history
…playString-should-be-removed

1468-IceProxyMCVersionInfogtDisplayString-should-be-removed
  • Loading branch information
tesonep authored Jul 12, 2021
2 parents a738969 + dc9f2a3 commit 82f512c
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Iceberg/IceProxyMCVersionInfo.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Class {
#classVars : [
'LastCommitFound'
],
#category : 'Iceberg-Adapters'
#category : #'Iceberg-Adapters'
}

{ #category : #private }
Expand Down Expand Up @@ -120,24 +120,6 @@ Please fetch from "{1}" and try again.'
package: (IcePackage named: packageName repository: repo)
]

{ #category : #printing }
IceProxyMCVersionInfo >> gtDisplayOn: stream [
"This offers a means to customize how the object is shown in the inspector"
^ self printOn: stream
]

{ #category : #printing }
IceProxyMCVersionInfo >> gtDisplayString [
"This offers a means to customize how the object is shown in the inspector.
Do not override this method. Override gtDisplayOn: instead"

| limitedString limit |
limit := 1000.
limitedString := String streamContents: [:s | self gtDisplayOn: s] limitedTo: limit.
limitedString size < limit ifTrue: [^ limitedString].
^ limitedString , ' ...'
]

{ #category : #inspecting }
IceProxyMCVersionInfo >> inspect [
"Create and schedule an Inspector in which the user can examine the receiver's variables."
Expand Down

0 comments on commit 82f512c

Please sign in to comment.