Skip to content

Commit 34baa40

Browse files
committed
Removed useless I18n reference in call to format
1 parent fe424ae commit 34baa40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import com.fasterxml.jackson.databind.ObjectMapper;
4040
import com.fasterxml.jackson.module.mrbean.MrBeanModule;
4141
import org.apache.commons.compress.utils.IOUtils;
42-
import processing.app.I18n;
4342
import processing.app.Platform;
4443
import processing.app.PreferencesData;
4544
import processing.app.debug.TargetPackage;
@@ -161,7 +160,7 @@ private void mergeContributions(File indexFile) throws IOException {
161160
} else {
162161
if (contributedPackage.isTrusted() || !isPackageNameProtected(contributedPackage)) {
163162
if (isPackageNameProtected(contributedPackage) && trustall) {
164-
System.err.println(I18n.format(tr("Warning: forced trusting untrusted contributions")));
163+
System.err.println(format(tr("Warning: forced trusting untrusted contributions")));
165164
}
166165
List<ContributedPlatform> platforms = contributedPackage.getPlatforms();
167166
if (platforms == null) {

0 commit comments

Comments
 (0)