diff options
Diffstat (limited to 'Tools/Source/MigrationTools')
-rw-r--r-- | Tools/Source/MigrationTools/org/tianocore/migration/Critic.java | 4 |
1 files changed, 3 insertions, 1 deletions
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);
}
}
|