Skip to content

Commit

Permalink
notice: be aware when changing this interface
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf committed Sep 8, 2023
1 parent df89f50 commit ca22c0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/nats/client/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
*
* <p>The byte[] returned by {@link #getData() getData()} is not shared with any library code
* and is safe to manipulate.
*
* NOTICE: This interface is intended only to be implemented internally,
* although since it is public it is technically available to anyone and
* breaking changes should be avoided. For instance:
* - Signatures should not be changed.
* - If methods are added, a default implementation should be provided.
*/
public interface Message {

Expand Down

0 comments on commit ca22c0d

Please sign in to comment.