remove wasteful duplicate method calls

This commit is contained in:
Dave Brosius committed 2011-02-05 19:16:24 -05:00
1 parent 5abb484957
commit 5571e430d1
3 files changed
+9 -6

No files matched your search

@@ -89,8 +89,9 @@ public final class ProxyConfiguration implements Saveable {
public void save() throws IOException {
if(BulkChange.contains(this)) return;
getXmlFile().write(this);
SaveableListener.fireOnChange(this, getXmlFile());
XmlFile config = getXmlFile();
config.write(this);
SaveableListener.fireOnChange(this, config);
}
public static XmlFile getXmlFile() {