Updates to*Case() to use Locale.ROOT
This commit is contained in:
committed by
Oleg Zhurakousky
parent
b65577d515
commit
900d03f816
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.example.azure.di.timetriggerdemo;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import com.microsoft.azure.functions.ExecutionContext;
|
||||
@@ -40,7 +41,7 @@ public class TimeTriggerDemoApplication {
|
||||
public Consumer<Message<String>> uppercase() {
|
||||
return message -> {
|
||||
String timeInfo = message.getPayload();
|
||||
String value = timeInfo.toUpperCase();
|
||||
String value = timeInfo.toUpperCase(Locale.ROOT);
|
||||
|
||||
logger.info("Timer is triggered with TimeInfo: " + value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user