MovingBlocks / TerasologyLauncher

Terasology Launcher is the official launcher for the open source game Terasology.
http://terasology.org/
Apache License 2.0
153 stars 76 forks source link

chore: make RepositoryManager a composite ReleaseRepository #711

Closed skaldarnar closed 9 months ago

skaldarnar commented 9 months ago

Contains

The public interface of RepositoryManager is basically that of ReleaseRepository. Its purpose is to combine the different sources for game releases and hide where exactly a release is coming from.

Thus, make it implement ReleaseRepository and use the interface in more places instead of the specific class.

Also, drop the ...Adapter suffixes as I'm not sure what they were intended to express anymore. The interface is called ReleaseRepository (with Adapter), and the two classes are implementing that interface.

In addition, this also deletes the unused class JobResult.

How to test

Ensure that the launcher works as before.

Outstanding before merging

Nothing.