}
}
private static void checkScalingTypesMatch(WebModule currentModule, WebModule updatedModule)
throws AppEngineConfigException {
ScalingType currentScalingType = currentModule.getAppEngineWebXml().getScalingType();
ScalingType updatedScalingType = updatedModule.getAppEngineWebXml().getScalingType();
if (!currentScalingType.equals(updatedScalingType)) {
String message = String.format(
"Unsupported configuration change of scaling from '%s' to '%s' in '%s'",
currentScalingType, updatedScalingType, currentModule.getAppEngineWebXmlFile());
LOGGER.severe(message);