对这是否会被否决或关闭没有信心......我需要对此的专家意见。
上下文在我们的应用程序中,我们编写了如下代码:
//countryId is an integer, searchCity() expects two String parameters
loadCity(countryName , countryId + "");
如果我改变(我被迫这样做)这样的电话会有什么不同:
loadCity(countryName, String.valueOf(countryId));
或者,
loadCity(countryName, Integer.toString(countryId));
这会对性能产生任何影响吗?