google / google/guice

TypeConverter<Character> in TypeConverterBindingProcessor should support injection of space

Open
#1,034 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

The current TypeConverter uses

`value = value.trim();
`

to remove all whitespace.

Since it is a character converter, we should leave it to the user and just check the length.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.