We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0be46 commit 6ae78a4Copy full SHA for 6ae78a4
src/main/java/gr/uom/java/xmi/UMLComment.java
@@ -51,7 +51,10 @@ public void addPreviousLocation(LocationInfo info) {
51
public String getText() {
52
if(locationInfo.getCodeElementType().equals(CodeElementType.LINE_COMMENT)) {
53
String text = new String(this.text);
54
- if(text.startsWith("//")) {
+ if(text.startsWith("///")) {
55
+ text = text.substring(3);
56
+ }
57
+ else if(text.startsWith("//")) {
58
text = text.substring(2);
59
}
60
text = text.trim();
@@ -69,6 +72,9 @@ public String getText() {
69
72
if(line.endsWith("*/")) {
70
73
line = line.substring(0, line.length()-2);
71
74
75
+ if(line.startsWith("///")) {
76
+ line = line.substring(3);
77
78
if(line.startsWith("//")) {
79
line = line.substring(2);
80
0 commit comments