THRIFT-5525 use "reuse_objects" instead of "reuse-objects" as a consistent param casing
Client: java
Patch: Jiayu Liu
This closes #2530
diff --git a/lib/java/gradle/generateTestThrift.gradle b/lib/java/gradle/generateTestThrift.gradle
index 996c5fa..924dd0d 100644
--- a/lib/java/gradle/generateTestThrift.gradle
+++ b/lib/java/gradle/generateTestThrift.gradle
@@ -109,7 +109,7 @@
ext.outputBuffer = new ByteArrayOutputStream()
- thriftCompile(it, 'ReuseObjects.thrift', 'java:reuse-objects', genReuseSrc)
+ thriftCompile(it, 'ReuseObjects.thrift', 'java:reuse_objects', genReuseSrc)
}
task generateUnsafeBinariesJava(group: 'Build') {