Consistently use CharSequence.isEmpty() for emptiness checks
Closes gh-33577
This commit is contained in:
committed by
Sam Brannen
parent
f321ef9ec2
commit
c85050eb43
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -153,7 +153,7 @@ public final class BindMarkersFactoryResolver {
|
||||
builder.append(ch);
|
||||
}
|
||||
}
|
||||
if (builder.length() == 0) {
|
||||
if (builder.isEmpty()) {
|
||||
return "";
|
||||
}
|
||||
return "_" + builder.toString();
|
||||
|
||||
Reference in New Issue
Block a user