1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Removed useless I18n reference in call to format

This commit is contained in:
Cristian Maglie 2018-09-03 15:20:46 +02:00 committed by Cristian Maglie
parent fe424ae39b
commit 34baa40953

View File

@ -39,7 +39,6 @@ import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.mrbean.MrBeanModule;
import org.apache.commons.compress.utils.IOUtils;
import processing.app.I18n;
import processing.app.Platform;
import processing.app.PreferencesData;
import processing.app.debug.TargetPackage;
@ -161,7 +160,7 @@ public class ContributionsIndexer {
} else {
if (contributedPackage.isTrusted() || !isPackageNameProtected(contributedPackage)) {
if (isPackageNameProtected(contributedPackage) && trustall) {
System.err.println(I18n.format(tr("Warning: forced trusting untrusted contributions")));
System.err.println(format(tr("Warning: forced trusting untrusted contributions")));
}
List<ContributedPlatform> platforms = contributedPackage.getPlatforms();
if (platforms == null) {