We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbbb58e commit f242ad4Copy full SHA for f242ad4
1 file changed
gp-res-filter/src/main/java/com/ibm/g11n/pipeline/resfilter/IOSStringsResource.java
@@ -62,14 +62,14 @@ public Bundle parse(InputStream in) throws IOException {
62
String comment = line.substring(line.indexOf(COMMENT_BEGIN)+2);
63
Boolean commentEndProcessed = false;
64
while (!commentEndProcessed && line != null) {
65
- if (comment.endsWith(COMMENT_END)) {
66
- comment = comment.substring(0, comment.length()-2);
+ if (comment.trim().endsWith(COMMENT_END)) {
+ comment = comment.substring(0, comment.lastIndexOf(COMMENT_END));
67
commentEndProcessed = true;
68
}
69
notes.add(comment);
70
if (!commentEndProcessed) {
71
line = reader.readLine();
72
- comment = line.trim();
+ comment = line;
73
74
75
} else if (commentIsGlobal && line.isEmpty()) {
0 commit comments