Fixing CheckStyle errors
@@ -34,7 +34,7 @@ public abstract class LookaheadParser extends IssueParser {
private final Pattern pattern;
- private Stack<String> RecursiveMakeDirectories;
+ private Stack<String> recursiveMakeDirectories;
/**
* Creates a new instance of {@link LookaheadParser}.
@@ -46,7 +46,7 @@ public abstract class LookaheadParser extends IssueParser {
super();
this.pattern = Pattern.compile(pattern);
- this.RecursiveMakeDirectories = new Stack<String>();
+ this.recursiveMakeDirectories = new Stack<String>();
}
@Override
@@ -67,15 +67,15 @@ public abstract class LookaheadParser extends IssueParser {
String line = lookahead.next();
if (line.contains(ENTERING_DIRECTORY)) {
final String directory = extractDirectory(line, MAKE_PATH);
- RecursiveMakeDirectories.push(directory);
- builder.setDirectory(RecursiveMakeDirectories.peek());
+ recursiveMakeDirectories.push(directory);
+ builder.setDirectory(recursiveMakeDirectories.peek());
}
else if (line.contains(LEAVING_DIRECTORY)) {
- if(!RecursiveMakeDirectories.isEmpty()) {
- RecursiveMakeDirectories.pop();
+ if (!recursiveMakeDirectories.isEmpty()) {
+ recursiveMakeDirectories.pop();
}
- if(!RecursiveMakeDirectories.isEmpty()) {
- builder.setDirectory(RecursiveMakeDirectories.peek());
+ if (!recursiveMakeDirectories.isEmpty()) {
+ builder.setDirectory(recursiveMakeDirectories.peek());
}
}
else if (line.contains(CMAKE_PREFIX)) {
