mirror of
https://github.com/davidalves04/Trabalho-Pratico-SD.git
synced 2025-12-07 20:16:36 +00:00
Remove unused supports method from MessageSerializer
This commit is contained in:
@@ -289,7 +289,7 @@ Trabalho-Pratico-SD/
|
||||
├── README.md # Este ficheiro
|
||||
├── TODO.md # Plano de desenvolvimento
|
||||
├── main/
|
||||
│ ├── pom.xml # Configuração Maven
|
||||
│ ├── pom.xml # Configuração do Maven
|
||||
│ ├── docs/
|
||||
│ │ ├── README.md # Índice da documentação
|
||||
│ │ ├── SERIALIZATION_SPECIFICATION.md
|
||||
|
||||
@@ -45,14 +45,4 @@ public interface MessageSerializer {
|
||||
*/
|
||||
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
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user