He-Pin opened a new pull request, #3291:
URL: https://github.com/apache/pekko/pull/3291

   ## Motivation
   `Attributes.getFirst` and `getFirstAttribute` were deprecated since Akka 
2.5.7. The replacement API is `get` and `getAttribute`.
   
   ## Modification
   Removed the following deprecated methods from `Attributes`:
   - `getFirstAttribute(Class, default)` - deprecated since Akka 2.5.7
   - `getFirstAttribute(Class)` - deprecated since Akka 2.5.7
   - `getFirst[T](default)` - deprecated since Akka 2.5.7
   - `getFirst[T]` - deprecated since Akka 2.5.7
   
   Updated test files to use `get` instead of `getFirst`:
   - `AttributesSpec.scala`: removed `getFirst` assertions
   - `SinkSpec.scala`: changed `getFirst` to `get`, removed tests exclusively 
testing `getFirst`
   - `BidiFlowSpec.scala`: changed `getFirst` to `get`
   - `GraphDSLCompileSpec.scala`: changed `getFirst` to `get`
   - `AttributesTest.java`: removed test methods for `getFirstAttribute`
   
   ## Result
   Deprecated API removed. Users should use `get` and `getAttribute` instead.
   
   ## Tests
   Tests updated to use the replacement API.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to