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
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ allprojects { prj ->
}

tasks.withType(JavaCompile).configureEach { task ->
// Disable errorprone on the MR-JAR tasks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this was added when the MR-JAR code required newer JDK to be installed in former times. This is now obsolete as we have APIJARs and on top at moment we compile with default compiler (24).

if (task.name ==~ /compileMain\d+Java/) {
options.errorprone.enabled = false
return
}

// Exclude certain files (generated ones, mostly).
switch (project.path) {
case ":lucene:core":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ private static void shift(
}

@Override
@SuppressWarnings("NarrowCalculation") // count * 4 won't overflow integer here
public void splitInts(
int count, int[] b, int bShift, int dec, int bMask, int[] c, int cIndex, int cMask)
throws IOException {
Expand Down
Loading