mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Format some imports using fix_imports.py
Unfortunately this tool isn't smart enough to deal with the assertThat situation (which has two static imports of a function with the same name). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172000753
This commit is contained in:
parent
326cf698e0
commit
05f6ad80ab
20 changed files with 35 additions and 49 deletions
|
@ -15,6 +15,7 @@
|
|||
package google.registry.tools;
|
||||
|
||||
import static com.google.common.base.Preconditions.checkArgument;
|
||||
|
||||
import google.registry.tools.LevelDbLogReader.ChunkType;
|
||||
|
||||
class LevelDbUtil {
|
||||
|
@ -73,7 +74,9 @@ class LevelDbUtil {
|
|||
*/
|
||||
static int addRecord(byte[] bytes, int pos, ChunkType type, byte[] data) {
|
||||
checkArgument(
|
||||
data.length < MAX_RECORD, "Record length (%d) > max record size (%d)", data.length,
|
||||
data.length < MAX_RECORD,
|
||||
"Record length (%s) > max record size (%s)",
|
||||
data.length,
|
||||
MAX_RECORD);
|
||||
pos = addRecordHeader(bytes, pos, type, data.length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue