Skip to content

Commit

Permalink
Merge pull request #569 from pharo-spec/organizer
Browse files Browse the repository at this point in the history
Do not use `RPackage organizer`
  • Loading branch information
MarcusDenker authored Aug 7, 2023
2 parents e604b0e + bb6a86c commit 4522bfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Class {
StRewriterRenrakuApplier class >> calculateAllChangesForRules: aRulesCollection [

| allSystemMethods |
allSystemMethods := (RPackage organizer packages flatCollect: [:each | each classes])
allSystemMethods := (self packageOrganizer packages flatCollect: [:each | each classes])
flatCollect: [ :each | each methods] as: Set.

^ self calculateChangesForClasses: allSystemMethods asSet transformationRules: aRulesCollection
Expand Down Expand Up @@ -66,6 +66,6 @@ Take a look on ReCriticEngine for some automation ideas. Also take a look at Com
StRewriterRenrakuApplier class >> obtainCritiquesOfAllMethodsForRules: ruleHolderCollection [

| methods |
methods := (RPackage organizer packages flatCollect: #classes) flatCollect: #methods.
methods := (self packageOrganizer packages flatCollect: #classes) flatCollect: #methods.
^ self obtainCritiquesOf: methods forRules: ruleHolderCollection
]

0 comments on commit 4522bfb

Please sign in to comment.