Skip to content

Commit 7caa01f

Browse files
Googlercopybara-github
authored andcommitted
Automatic code cleanup.
PiperOrigin-RevId: 373063761
1 parent 339700e commit 7caa01f

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/main/java/com/google/devtools/build/lib/includescanning/IncludeScannerHelper.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ class IncludeScannerHelper {
4141
}
4242

4343
/**
44-
* Finds {@code source} in the given {@includePaths} as if it were #included as {@include}.
44+
* Finds {@code source} in the given {@code includePaths} as if it were #included as {@code
45+
* include}.
4546
*
46-
* @return the index in {@includePaths} a #include_next directive should start searching from,
47-
* or -1 if the source file was not found.
47+
* @return the index in {@code includePaths} a #include_next directive should start searching
48+
* from, or -1 if the source file was not found.
4849
*/
49-
private static int findContextPathPos(PathFragment include, Artifact source,
50-
List<PathFragment> includePaths) {
50+
private static int findContextPathPos(
51+
PathFragment include, Artifact source, List<PathFragment> includePaths) {
5152
for (int i = 0; i < includePaths.size(); ++i) {
5253
PathFragment execPath = includePaths.get(i);
5354
if (execPath.getRelative(include).equals(source.getExecPath())) {

src/main/java/com/google/devtools/build/lib/includescanning/SwigIncludeParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ private static int skipParentheses(byte[] chars, int pos, int end) {
4343
return pos;
4444
}
4545

46-
@Override
4746
/** See javadoc for {@link IncludeParser#getFileType()} */
47+
@Override
4848
protected GrepIncludesFileType getFileType() {
4949
return GrepIncludesFileType.SWIG;
5050
}

0 commit comments

Comments
 (0)