Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions config/checkstyle-checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@
<property name="format" value="^(ex|[a-z][a-z][a-zA-Z]+)$"/>
</module>
<module name="PatternVariableName"/>
<module name="IllegalIdentifierName"/>

<!-- Regexp -->
<module name="Regexp">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
public class ClasspathVariableResolver implements PropertyResolver {

@Override
public String resolve(String aName) {

IPath var = JavaCore.getClasspathVariable(aName);
return var != null ? var.toString() : null;
public String resolve(String name) {
IPath path = JavaCore.getClasspathVariable(name);
return path != null ? path.toString() : null;
}
}
Loading