InTextDirectivesUtils: trim line with comment
This commit is contained in:
@@ -160,6 +160,7 @@ public final class InTextDirectivesUtils {
|
|||||||
String line;
|
String line;
|
||||||
|
|
||||||
while ((line = reader.readLine()) != null) {
|
while ((line = reader.readLine()) != null) {
|
||||||
|
line = line.trim();
|
||||||
if (line.startsWith("//")) {
|
if (line.startsWith("//")) {
|
||||||
String uncommentedLine = line.substring(2).trim();
|
String uncommentedLine = line.substring(2).trim();
|
||||||
if (!uncommentedLine.isEmpty()) {
|
if (!uncommentedLine.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user