comparison src/org/tmatesoft/hg/internal/Internals.java @ 559:6ca3d0c5b4bc

Commit: tests and fixes for defects discovered
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 25 Feb 2013 19:48:20 +0100
parents 9edfd5a223b8
children 36e36b926747
comparison
equal deleted inserted replaced
558:154718ae23ed 559:6ca3d0c5b4bc
200 200
201 public EncodingHelper buildFileNameEncodingHelper() { 201 public EncodingHelper buildFileNameEncodingHelper() {
202 return new EncodingHelper(getFilenameEncoding(), repo.getSessionContext()); 202 return new EncodingHelper(getFilenameEncoding(), repo.getSessionContext());
203 } 203 }
204 204
205 public boolean fncacheInUse() {
206 return (getRequiresFlags() & RequiresFile.FNCACHE) != 0;
207 }
208
205 /*package-local*/ Charset getFilenameEncoding() { 209 /*package-local*/ Charset getFilenameEncoding() {
206 return getFileEncoding(getSessionContext()); 210 return getFileEncoding(getSessionContext());
207 } 211 }
208 212
209 /*package-local*/ static Charset getFileEncoding(SessionContext ctx) { 213 /*package-local*/ static Charset getFileEncoding(SessionContext ctx) {