Closed kazurayam closed 11 months ago
See the source of Sitemap
class:
Sitemap implements methods
public Target deriveTwinTarget(Target base)
This method makes the design of Sitemap
class very complicated.
But, is this method really used by someone?
I am afraid not.
See
This code is the only code that uses the Sitemap
class. You can see that this code does NOT use the deriveTwinTarget(Target base)
method.
So, I think that the Sitemap
class can be much more simplified.
SitempaLoader supports string interpolation "${URL_PREFIX}" => "http://hostname", which simplifies many things
I will remove the existing 2 classes
and will rename
done at v0.11.0
derived from
https://github.com/kazurayam/ks_comparingElementScreenshots_using_Inspectus/issues/2
I should start with reviewing the design of com.kazurayam.inspectus.materialize.discovery.Sitemap class.