Skip to content

Commit 67c6038

Browse files
committed
Reuse constant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1306034 13f79535-47bb-0310-9956-ffa450edef68
1 parent c3c58f2 commit 67c6038

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/org/apache/commons/codec/language/bm/ResourceConstants.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
package org.apache.commons.codec.language.bm;
1919

20+
import org.apache.commons.codec.CharEncoding;
21+
2022
/**
2123
* Constants used to process resource files.
2224
*
@@ -26,7 +28,7 @@
2628
class ResourceConstants {
2729

2830
static final String CMT = "//";
29-
static final String ENCODING = "UTF-8";
31+
static final String ENCODING = CharEncoding.UTF_8;
3032
static final String EXT_CMT_END = "*/";
3133
static final String EXT_CMT_START = "/*";
3234

0 commit comments

Comments
 (0)