c4mdax commented on code in PR #3404:
URL: https://github.com/apache/pekko/pull/3404#discussion_r3685735432
##########
stream/src/main/scala/org/apache/pekko/stream/Attributes.scala:
##########
@@ -306,22 +306,22 @@ final class Attributes private[pekko] (
* Java API: Get the least specific attribute (added first) of a given
`Class` or subclass thereof.
* If no such attribute exists the `default` value is returned.
*/
- @deprecated("Attributes should always be most specific, use
getAttribute[T]", "Akka 2.5.7")
+ // Maintained active: required to retrieve the least specific attribute
without breaking precedence. See apache/pekko-http#345
Review Comment:
Thanks for the review! I've just pushed an update that replaces the
@deprecated annotations with @InternalStableApi, and prepended INTERNAL API to
the scaladocs
--
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]