Skip to content

Commit 5ed31ef

Browse files
xpath: Fix code formatting and comments
1 parent d1005aa commit 5ed31ef

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/eu/europa/ted/eforms/xpath/XPathInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.util.List;
55

66
public class XPathInfo {
7-
private LinkedList<XPathStep> steps = new LinkedList<>();
7+
private LinkedList<XPathStep> steps = new LinkedList<>();
88
private String pathToLastElement;
99
private String attributeName;
1010

src/main/java/eu/europa/ted/eforms/xpath/XPathListenerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public void exitAbbrevforwardstep(AbbrevforwardstepContext ctx) {
125125
* because {@link ParserRuleContext#getText()} omits whitespace and other lexer tokens in the
126126
* HIDDEN channel.
127127
*
128-
* @param context
129-
* @return
128+
* @param context Information on a rule that matched
129+
* @return The input text that matched the rule corresponding to the specified context
130130
*/
131131
private String getInputText(ParserRuleContext context) {
132132
return this.inputStream

src/main/java/eu/europa/ted/eforms/xpath/XPathStep.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ public class XPathStep implements Comparable<XPathStep> {
1313
private final List<String> predicates;
1414

1515
public XPathStep(String stepText, List<String> predicates) {
16-
this.stepText = StringUtils.strip(stepText);
16+
this.stepText = StringUtils.strip(stepText);
1717
this.predicates = predicates;
18-
}
18+
}
1919

2020
public String getStepText() {
2121
return stepText;
2222
}
2323

24-
public List<String> getPredicates() {
24+
public List<String> getPredicates() {
2525
return predicates;
2626
}
2727

0 commit comments

Comments
 (0)