From 3ba9e7cd03d150f4f559509d2c911a121af3fc31 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sun, 17 May 2015 14:22:02 +0000 Subject: [PATCH] - Fix the encoding of files with UTF-8 symbols to make them compile properly and without warnings. --- forge-core/src/main/java/forge/util/ImageUtil.java | 2 +- .../src/main/java/forge/gui/framework/SResizingUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-core/src/main/java/forge/util/ImageUtil.java b/forge-core/src/main/java/forge/util/ImageUtil.java index 0da996895a8..e835e483f7a 100644 --- a/forge-core/src/main/java/forge/util/ImageUtil.java +++ b/forge-core/src/main/java/forge/util/ImageUtil.java @@ -107,7 +107,7 @@ public class ImageUtil { } private static String formatName(final String name) { - return StringUtils.replaceChars(name, "áàâéèêúùûíìîóòô", "aaaeeeuuuiiiooo"); + return StringUtils.replaceChars(name, "áàâéèêúùûíìîóòô", "aaaeeeuuuiiiooo"); } public static String getImageKey(final PaperCard cp, final boolean backFace, final boolean includeSet) { diff --git a/forge-gui-desktop/src/main/java/forge/gui/framework/SResizingUtil.java b/forge-gui-desktop/src/main/java/forge/gui/framework/SResizingUtil.java index 64e125dd9c0..dfc7c4c3fcd 100644 --- a/forge-gui-desktop/src/main/java/forge/gui/framework/SResizingUtil.java +++ b/forge-gui-desktop/src/main/java/forge/gui/framework/SResizingUtil.java @@ -140,7 +140,7 @@ public final class SResizingUtil { existingComponents.add(c); } - // This is the core of the pixel-perfect layout. To avoid ±1 px errors on borders + // This is the core of the pixel-perfect layout. To avoid ±1 px errors on borders // from rounding individual panels, the intermediate values (exactly accurate, in %) // for width and height are rounded based on comparison to other panels in the // layout. This is to avoid errors such as: