Since the classname is coming from a properties file - rip off any trailing whitespace.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4790 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -163,7 +163,7 @@ public class MessageManager
|
|||||||
if (rbundle != null) {
|
if (rbundle != null) {
|
||||||
String mbclass = null;
|
String mbclass = null;
|
||||||
try {
|
try {
|
||||||
mbclass = rbundle.getString(MBUNDLE_CLASS_KEY);
|
mbclass = rbundle.getString(MBUNDLE_CLASS_KEY).trim();
|
||||||
if (!StringUtil.isBlank(mbclass)) {
|
if (!StringUtil.isBlank(mbclass)) {
|
||||||
bundle = (MessageBundle)
|
bundle = (MessageBundle)
|
||||||
Class.forName(mbclass).newInstance();
|
Class.forName(mbclass).newInstance();
|
||||||
|
|||||||
Reference in New Issue
Block a user