Fix checkstyle violations.

Follow up to #1332.
- Manually split up a long string literal.
- Disable ArrayTrailingComma, which checkstyle complains about even in
  commented code. In any case it is redundant with PJF.
This commit is contained in:
Nakul Joshi 2024-05-21 01:34:23 -07:00 committed by nakulj
parent adcc89f80d
commit 221db0564d
2 changed files with 2 additions and 2 deletions

View file

@ -435,7 +435,8 @@ class PeriodicShardSyncManager {
leaseRefresher.updateLeaseWithMetaInfo(lease, UpdateField.HASH_KEY_RANGE); leaseRefresher.updateLeaseWithMetaInfo(lease, UpdateField.HASH_KEY_RANGE);
} catch (Exception e) { } catch (Exception e) {
log.warn( log.warn(
"Unable to update hash range key information for lease {} of stream {}. This may result in explicit lease sync.", "Unable to update hash range key information for lease {} of stream {}."
+ "This may result in explicit lease sync.",
lease.leaseKey(), lease.leaseKey(),
streamIdentifier); streamIdentifier);
} }

View file

@ -22,7 +22,6 @@
</module> </module>
<module name="TreeWalker"> <module name="TreeWalker">
<module name="ArrayTrailingComma"/>
<module name="AvoidStarImport"/> <module name="AvoidStarImport"/>
<module name="ConstantName"/> <module name="ConstantName"/>
<module name="CovariantEquals"/> <module name="CovariantEquals"/>