From e2f1c84a39d0d037a29bbc36327b45f945b5f766 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 7 Sep 2006 07:40:42 +0000 Subject: Remove trailing blanks. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1491 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/Source/MigrationTools/org/tianocore/migration/Critic.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Tools/Source/MigrationTools') diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/Critic.java b/Tools/Source/MigrationTools/org/tianocore/migration/Critic.java index 2d9bb7b..c987b9f 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/Critic.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/Critic.java @@ -191,7 +191,9 @@ public final class Critic { } wholeline = templine.toString(); // - + // Remove trailing blanks. + // + wholeline = wholeline.replaceAll (" +\n", "\n"); Common.string2file(wholeline, filepath); } } -- cgit v1.1