[seam-commits] Seam SVN: r11169 - branches/community/Seam_2_2/src/main/org/jboss/seam/international.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jun 16 19:35:05 EDT 2009
Author: norman.richards at jboss.com
Date: 2009-06-16 19:35:05 -0400 (Tue, 16 Jun 2009)
New Revision: 11169
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/international/Messages.java
Log:
JBSEAM-4252
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/international/Messages.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/international/Messages.java 2009-06-16 19:54:48 UTC (rev 11168)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/international/Messages.java 2009-06-16 23:35:05 UTC (rev 11169)
@@ -53,11 +53,9 @@
} catch (MissingResourceException mre) {
return resourceKey;
}
- if (resource == null) {
- return resourceKey;
- } else {
- return Interpolator.instance().interpolate(resource);
- }
+
+ return (resource == null) ? resourceKey : resource;
+
} else {
return null;
}
More information about the seam-commits
mailing list