diff src/org/tmatesoft/hg/internal/CommitFacility.java @ 622:4e6179bde4fc

Update to comply with Java 1.5 target
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 May 2013 16:56:40 +0200
parents 99ad1e3a4e4d
children 6526d8adbc0f
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/CommitFacility.java	Sat May 18 22:23:57 2013 +0200
+++ b/src/org/tmatesoft/hg/internal/CommitFacility.java	Mon May 20 16:56:40 2013 +0200
@@ -196,7 +196,7 @@
 			FileOutputStream fos = null;
 			try {
 				fos = new FileOutputStream(branchFile);
-				fos.write(newBranchValue.getBytes(EncodingHelper.getUTF8()));
+				fos.write(newBranchValue.getBytes(EncodingHelper.getUTF8().name())); // XXX Java 1.5
 				fos.flush();
 				fos.close();
 				fos = null;