forked from External/mage
Checking String for emptiness with .lenght() is preferable since 1.6
This commit is contained in:
parent
ad7d3c8078
commit
04973ea5aa
4 changed files with 5 additions and 5 deletions
|
|
@ -636,7 +636,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
List<RowFilter<Object, Object>> ignoreListFilterList = new ArrayList<>();
|
||||
String serverAddress = SessionHandler.getSession().getServerHostname().orElseGet(() -> "");
|
||||
final Set<String> ignoreListCopy = IgnoreList.ignoreList(serverAddress);
|
||||
if (ignoreListCopy.size() > 0) {
|
||||
if (!ignoreListCopy.isEmpty()) {
|
||||
ignoreListFilterList.add(new RowFilter<Object, Object>() {
|
||||
@Override
|
||||
public boolean include(Entry<? extends Object, ? extends Object> entry) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue