Skip to content

Commit

Permalink
Fix some accessing categories, see pharo-project/pharo#11027
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Mar 22, 2022
1 parent 66612d4 commit 0826e66
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
accessing request
accessing - request
setBearerAuthentication: token
"Set the bearer token for authentication (e.g. OAuth 2.0) for the current request."

self request setBearerAuthentication: token
self request setBearerAuthentication: token
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing-path
accessing - path
path
self hasPath
ifFalse: [ ^ String new ].
Expand All @@ -7,4 +7,4 @@ path
do: [ :each |
each = $/
ifFalse: [ stream nextPutAll: each ] ]
separatedBy: [ stream nextPut: $/ ] ]
separatedBy: [ stream nextPut: $/ ] ]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
accessing-query
accessing - query
queryAt: key add: value
"Modify the receiver by adding a query variable key=value.
If key already exists, value is added to it."

query ifNil: [ query := ZnMultiValueDictionary new ].
query at: key asString add: (value ifNotNil: [ value asString ])
query at: key asString add: (value ifNotNil: [ value asString ])
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
accessing-query
accessing - query
queryAt: key put: value
"Modify the receiver by setting a query variable key=value.
If key is already exists, it is overwritten."

query ifNil: [ query := ZnMultiValueDictionary new ].
query at: key asString put: (value ifNotNil: [ value asString ])
query at: key asString put: (value ifNotNil: [ value asString ])

0 comments on commit 0826e66

Please sign in to comment.