The setter method is called setFileRead() so the member should have been called fileRead, not readFile. Signed-off-by: Shawn O. Pearce <spearce@xxxxxxxxxxx> --- .../src/org/spearce/jgit/lib/Config.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/Config.java b/org.spearce.jgit/src/org/spearce/jgit/lib/Config.java index c2d5c6e..a31796c 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/lib/Config.java +++ b/org.spearce.jgit/src/org/spearce/jgit/lib/Config.java @@ -60,8 +60,7 @@ * file. */ public abstract class Config { - - private boolean readFile; + private boolean fileRead; private List<Entry> entries; @@ -96,7 +95,7 @@ protected Config(Config base) { * true if file does not need loading */ protected void setFileRead(boolean ok) { - readFile = ok; + fileRead = ok; } /** @@ -404,7 +403,7 @@ private String getRawString(final String section, final String subsection, } private void ensureLoaded() { - if (!readFile) { + if (!fileRead) { try { load(); } catch (FileNotFoundException err) { @@ -703,7 +702,7 @@ protected void printConfig(final PrintWriter r) { */ public void load() throws IOException { clear(); - readFile = true; + fileRead = true; final BufferedReader r = new BufferedReader(new InputStreamReader( openInputStream(), Constants.CHARSET)); try { -- 1.6.4.rc1.186.g60aa0c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html