Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-lacurie committed Dec 7, 2022
1 parent 7d4c89a commit 41e759d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Expand Up @@ -22,7 +22,6 @@

import com.apple.foundationdb.annotation.API;
import com.apple.foundationdb.record.query.plan.cascades.debug.Debugger;
import com.apple.foundationdb.record.query.plan.cascades.typing.Type;
import com.apple.foundationdb.record.util.ProtoUtils;
import com.google.common.collect.ImmutableSet;

Expand Down
Expand Up @@ -45,7 +45,6 @@
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.UUID;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.stream.Collectors;
Expand Down
Expand Up @@ -20,9 +20,7 @@

package com.apple.foundationdb.record.util;

import java.util.Map;
import java.util.UUID;
import java.util.function.Function;

/**
* Utility functions for interacting with protobuf.
Expand Down Expand Up @@ -50,6 +48,6 @@ public static String uniqueCorrelationName() {

private static String uniqueName(String prefix) {
final var safeUuid = UUID.randomUUID().toString().replace('-', '_');
return "__type__" + safeUuid;
return prefix + safeUuid;
}
}

0 comments on commit 41e759d

Please sign in to comment.