Description
The else-if statement usage is problematic in ArchiveMicroStreamReader.java, as the number of else-if statements doubles with every new datasource added (8 statements with 3 datasources). Refactoring is thus needed for that section of the code. DatasourceOffset.java and SerializedDatasourceOffset.java will need refactoring to achieve this.
Description The else-if statement usage is problematic in ArchiveMicroStreamReader.java, as the number of else-if statements doubles with every new datasource added (8 statements with 3 datasources). Refactoring is thus needed for that section of the code. DatasourceOffset.java and SerializedDatasourceOffset.java will need refactoring to achieve this.