File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Moose-Blueprint-Models-Tests Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,13 @@ CBClassBlueprintForJavaModelTest >> modelClass [
7171CBClassBlueprintForJavaModelTest >> testAccessOnInstVar [
7272
7373 | mbInstVar |
74-
7574 mbInstVar := classBlueprint attributes detect: [ :cv |
7675 cv name beginsWith: self attributeName ].
7776
7877 self denyEmpty: mbInstVar attributeAccess.
7978
8079 mbInstVar attributeAccess do: [ :access |
81- self assert: access source entity isCBAccessor .
80+ self assert: access source entity isAccessor .
8281 self
8382 assert: access target entity
8483 equals: (mainClass attributes detect: [ :attribute |
Original file line number Diff line number Diff line change @@ -323,8 +323,8 @@ CBClassBlueprint >> initialize [
323323CBClassBlueprint >> initializeAcessors [
324324
325325 accessors := self entity methods
326- select: [ :each | each isCBAccessor ] thenCollect: [ :each |
327- CBAccessorsModel newFrom: each ]
326+ select: [ :each | each isAccessor ]
327+ thenCollect: [ :each | CBAccessorsModel newFrom: each ]
328328]
329329
330330{ #category : ' initialization' }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ FamixTMethod >> inSameClassAs: aMethod [
3131
3232{ #category : ' *Moose-Blueprint-Models' }
3333FamixTMethod >> isCBAccessor [
34-
34+ self deprecated: ' please use isAccessor ' transformWith: ' `@receiver isCBAccessor ' - > ' `@receiver isAccessor ' .
3535 ^ self isSetter or : [ self isGetter ]
3636]
3737
You can’t perform that action at this time.
0 commit comments