Eddymaniac
Erfahrenes Mitglied
Hallo Leute,
bekomme bei folgender Abfrage eine Nullpointer Exception. Verstehe aber nicht warum:
Date adatum1 = null;
Date edatum1 = null;
if (!adatum1.equals(null) && !edatum1.equals(null)) {
//weiterer Code
}
Kann mir da jemand weiter helfen?
Gruß,
Eddy
bekomme bei folgender Abfrage eine Nullpointer Exception. Verstehe aber nicht warum:
Date adatum1 = null;
Date edatum1 = null;
if (!adatum1.equals(null) && !edatum1.equals(null)) {
//weiterer Code
}
Kann mir da jemand weiter helfen?
Gruß,
Eddy