niesfisch / tokenreplacer

Token Replacer is a simple and small Java Library that helps replacing tokens in strings. You can replace the tokens with static values or create values "on-the-fly" by calling a generator. You can even pass arguments to the generator which makes it pretty powerful.

Home Page:www.marcel-sauer.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG-1 Toky does not accept empty Strings as replacement

niesfisch opened this issue · comments

e.g.

replacer.register(new Token("blank").replacedBy("");

results in IllegalStateException. must be possible to provide empty strings.

fixed in release 1.2