Fix di retrocompatibilità
This commit is contained in:
parent
2e8e4c0ccc
commit
cebe5afd0a
@ -88,7 +88,7 @@ public class UtilityLogger {
|
||||
|
||||
}
|
||||
|
||||
return !callerNew.isEmpty() ? callerNew.toString() : caller;
|
||||
return callerNew.length() > 0 ? callerNew.toString() : caller;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ public class DialogAskMagazzinoProssimitaAdapter extends ArrayAdapter<JtbFasi> i
|
||||
}
|
||||
}
|
||||
|
||||
if (prefix == null || prefix.isEmpty()) {
|
||||
if (prefix == null || prefix.length() == 0) {
|
||||
synchronized (lock) {
|
||||
results.values = mDatasetAllItems;
|
||||
results.count = mDatasetAllItems.size();
|
||||
|
||||
@ -72,7 +72,7 @@ public class DialogAskCliente_Page1_Cliente_ArrayAdapter extends ArrayAdapter<Di
|
||||
}
|
||||
}
|
||||
|
||||
if (prefix == null || prefix.isEmpty()) {
|
||||
if (prefix == null || prefix.length() == 0) {
|
||||
synchronized (lock) {
|
||||
results.values = mDatasetAllItems;
|
||||
results.count = mDatasetAllItems.size();
|
||||
|
||||
@ -67,7 +67,7 @@ public class DialogAskCliente_Page1_Commessa_ArrayAdapter extends ArrayAdapter<S
|
||||
}
|
||||
}
|
||||
|
||||
if (prefix == null || prefix.isEmpty()) {
|
||||
if (prefix == null || prefix.length() == 0) {
|
||||
synchronized (lock) {
|
||||
results.values = mDatasetAllItems;
|
||||
results.count = mDatasetAllItems.size();
|
||||
|
||||
@ -89,7 +89,7 @@ public class DialogAskCliente_Page2_ArrayAdapter extends ArrayAdapter<DialogAskC
|
||||
}
|
||||
}
|
||||
|
||||
if (prefix == null || prefix.isEmpty()) {
|
||||
if (prefix == null || prefix.length() == 0) {
|
||||
synchronized (lock) {
|
||||
results.values = mDatasetAllItems;
|
||||
results.count = mDatasetAllItems.size();
|
||||
|
||||
@ -104,7 +104,7 @@ public class DialogInputPesoLUView extends BaseDialogFragment {
|
||||
|
||||
List<String> codTcolDescriptions = codTcolList.stream()
|
||||
.map(codTcol -> codTcol.getCodTcol() + " - " + codTcol.getDescrizione())
|
||||
.toList();
|
||||
.collect(Collectors.toList());
|
||||
|
||||
if (codTcol.get() != null) {
|
||||
Optional<String> newCodTcol = this.codTcolList.stream()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user