Subject: Re: [EGIT PATCH 6/9] Add branch and StGit patch to decorator

From: "Shawn O. Pearce" <[email-masked]>
Date: Wed, 28 Feb 2007 22:59:10 -0500

Robin Rosenberg <[email-masked]> wrote:
> +	public String getPatch() throws IOException {
> +		final File ptr = new File(getDirectory(),"patches/"+getBranch()+"/current");
> +		final BufferedReader br = new BufferedReader(new FileReader(ptr));
> +		final String line = br.readLine();
> +		return line;
> +	}

Last time I checked leaking a file descriptor was a bad idea.
I fixed it (in both methods) when I applied the patch.

Your whole series is now pushed. Thanks for the cleanups.

-- 
Shawn.