Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/org/mtransit/parser/mt/MGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ private static String getCommentedDateTime(int timestampInSec, @NotNull MSpec mS

private static final String XML_HEADER = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
private static final String DO_NOT_EDIT_FILE_GENERATED = "<!-- DO NOT EDIT: this file is generated by MGenerator class in parser -->";
private static final String RESOURCES_START = "<resources xmlns:tools=\"http://schemas.android.com/tools\" tools:ignore=\"MissingTranslation\">";
private static final String RESOURCES_START = "<resources xmlns:tools=\"http://schemas.android.com/tools\" tools:ignore=\"MissingTranslation,TypographyDashes\">";
private static final String RESOURCE_TAB = " ";
private static final String RESOURCE_INTEGER_AND_NAME_VALUE = RESOURCE_TAB + "<integer name=\"%s\">%s</integer>";
private static final String RESOURCE_BOOL_AND_NAME_VALUE = RESOURCE_TAB + "<bool name=\"%s\">%s</bool>";
Expand Down Expand Up @@ -1275,7 +1275,7 @@ public static boolean checkDataFilesExists(@NotNull String fileBase) {
return false;
}
final String valuesDir = resDir + "/" + VALUES;
//noinspection IfStatementWithIdenticalBranches,RedundantIfStatement
//noinspection RedundantIfStatement
if (!new File(valuesDir).exists()) {
return false;
}
Expand Down
Loading