@ -110,19 +111,23 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -110,19 +111,23 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -231,6 +236,20 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -231,6 +236,20 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -322,26 +341,27 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -322,26 +341,27 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -355,36 +375,34 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -355,36 +375,34 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -432,16 +450,46 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -432,16 +450,46 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -476,8 +524,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -476,8 +524,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
catch(IOExceptionex){
// Probably a class path resource: cache it forever.
if(logger.isDebugEnabled()){
logger.debug(
resource+" could not be resolved in the file system - assuming that is hasn't changed",ex);
logger.debug(resource+" could not be resolved in the file system - assuming that it hasn't changed",ex);
}
fileTimestamp=-1;
}
@ -561,12 +608,8 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -561,12 +608,8 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -595,30 +638,34 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -595,30 +638,34 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -626,7 +673,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -626,7 +673,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
}
publiclonggetRefreshTimestamp(){
returnrefreshTimestamp;
returnthis.refreshTimestamp;
}
publicStringgetProperty(Stringcode){
@ -640,26 +687,27 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@@ -640,26 +687,27 @@ public class ReloadableResourceBundleMessageSource extends AbstractMessageSource
@ -94,7 +100,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -94,7 +100,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -129,7 +135,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -129,7 +135,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -196,6 +202,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -196,6 +202,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -203,6 +210,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -203,6 +210,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -210,6 +218,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -210,6 +218,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -217,6 +226,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -217,6 +226,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -225,10 +235,8 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -225,10 +235,8 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -242,6 +250,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -242,6 +250,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -249,6 +258,36 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -249,6 +258,36 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -261,6 +300,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -261,6 +300,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
assertEquals("Do not do that",ms.getMessage("warning",newObject[]{"that"},Locale.GERMAN));
@ -268,6 +308,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -268,6 +308,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -276,6 +317,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -276,6 +317,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -293,6 +335,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -293,6 +335,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -309,6 +352,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -309,6 +352,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -320,6 +364,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -320,6 +364,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -352,6 +397,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -352,6 +397,7 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@ -363,11 +409,10 @@ public class ResourceBundleMessageSourceTests extends TestCase {
@@ -363,11 +409,10 @@ public class ResourceBundleMessageSourceTests extends TestCase {