mirror of
https://github.com/davidalves04/Trabalho-Pratico-SD.git
synced 2025-12-08 20:43:32 +00:00
Remove unused supports method from MessageSerializer
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user