Skip to content
Merged
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
Fix logsafe Preconditions usage example in the readme
  • Loading branch information
carterkozak committed Aug 20, 2019
commit 9fb8f5fe6681be6f7070b04ecb2242534f4ddafa
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ Annotate Preconditions error messages with named `SafeArg` and `UnsafeArg` as ap
// now
import com.palantir.logsafe.Preconditions;
...
Preconditions.checkArgument(uname.size() > MAX_LEN, "{} username longer than max {}",
Preconditions.checkArgument(uname.size() > MAX_LEN, "username longer than max",
UnsafeArg.of("uname", uname), SafeArg.of("max", MAX_LEN));