Skip to content

Commit

Permalink
feat: update annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Mar 16, 2024
1 parent 17a8e9a commit 1bf8b11
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -106,6 +106,7 @@ public <T> T toEntity(Class<T> type, CommunicationEntity entity) {
* @return the modified entity instance
* @throws NullPointerException when either the type or the entity are null
*/
@SuppressWarnings("unchecked")
public <T> T toEntity(T type, CommunicationEntity entity) {
requireNonNull(entity, "entity is required");
requireNonNull(type, "type is required");
Expand Down

0 comments on commit 1bf8b11

Please sign in to comment.