Cache the default UTF-8 Charset reference for faster access
commit2be78a12d4f5913d23fd08dc604da786990647da
authorShawn O. Pearce <spearce@spearce.org>
Sun, 23 Mar 2008 19:38:57 +0000 (23 15:38 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 05:05:56 +0000 (7 01:05 -0400)
treea7b106900ae9135a44e0d8914fe7b5849535cad3
parent19f8f6f7cedd23e51b888a99ce352266df12d1c0
Cache the default UTF-8 Charset reference for faster access

We frequently need the UTF-8 character set support to perform any
sort of meaningful byte->string operation, so storing it in our
Constants class makes those sorts of things easier.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java