关于以下类定义:
public final class ConfigComparer {
...some code ....
public ConfigComparer(String defaultFile, String siteFile)
throws NoSuchFieldException, IllegalAccessException {
this.defaultFile = defaultFile;
this.siteFile = siteFile;
defaultConfig = loadConfiguration(defaultFile);
siteConfig = loadConfiguration(siteFile);
load();
}
..... some code ....
}
在构造函数内部, 这两个ConfigComparer
有什么用途,或者它们的设计考虑是什么?this.defaultFile = defaultFile;
this.siteFile = siteFile;
this.