Remove unused supports method from MessageSerializer

This commit is contained in:
David Alves
2025-10-24 12:02:03 +01:00
parent ba3233eae1
commit 534a880e3e
2 changed files with 1 additions and 11 deletions

View File

@@ -289,7 +289,7 @@ Trabalho-Pratico-SD/
├── README.md # Este ficheiro ├── README.md # Este ficheiro
├── TODO.md # Plano de desenvolvimento ├── TODO.md # Plano de desenvolvimento
├── main/ ├── main/
│ ├── pom.xml # Configuração Maven │ ├── pom.xml # Configuração do Maven
│ ├── docs/ │ ├── docs/
│ │ ├── README.md # Índice da documentação │ │ ├── README.md # Índice da documentação
│ │ ├── SERIALIZATION_SPECIFICATION.md │ │ ├── SERIALIZATION_SPECIFICATION.md

View File

@@ -45,14 +45,4 @@ public interface MessageSerializer {
*/ */
String getName(); String getName();
/**
* Checks if this serializer supports a specific class type.
*
* @param clazz The class to check
* @return true if this serializer can handle the class, false otherwise
default boolean supports(Class<?> clazz) {
return true; // By default, assume all types are supported
}
*/
} }