mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Fix NoWhitespaceAfter checkstyle violation
in StringUtils.
This commit is contained in:
parent
162dee0a47
commit
45edc969c9
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ public class StringUtils {
|
||||||
|
|
||||||
final Random random = randGen.get();
|
final Random random = randGen.get();
|
||||||
// Create a char buffer to put random letters and numbers in.
|
// Create a char buffer to put random letters and numbers in.
|
||||||
char [] randBuffer = new char[length];
|
char[] randBuffer = new char[length];
|
||||||
for (int i=0; i<randBuffer.length; i++) {
|
for (int i=0; i<randBuffer.length; i++) {
|
||||||
randBuffer[i] = numbersAndLetters[random.nextInt(numbersAndLetters.length)];
|
randBuffer[i] = numbersAndLetters[random.nextInt(numbersAndLetters.length)];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue