Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
8 stars 8 forks source link

fix: Remove ModelParser and move static functions to the respectful fragmentation class that uses them #1247

Closed fvaes-cegeka closed 3 months ago

fvaes-cegeka commented 3 months ago

As described in #1152, the former ModelParser class had static methods utilized by both the TimeBased and Geospatial fragmentation strategies. However, only two public methods were utilized, each by one strategy, and there was no shared code between the two strategies. Therefor the ModelParser is removed and the functions are relocated to the respective fragmentation strategies.

In addition, one test within the TimeBased fragmentation strategy required adaptation since it relied on a mock of the ModelParser class.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
90.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud