In code I found:
String age = null;
String place = null;
new Employee(firstParam, secondParam, null, null, age, place);
Class Employee is not our class, probably generated from wsdl file where parameters(age and place) are called alter
, platz
so someone tried to name null parameters to know which is which but is it good practice? Another problem is that age
and place
are translated while other two parameters are just null
but beside of that is creating variable with null
value just to pass it in next line to constructor is okey?
Aucun commentaire:
Enregistrer un commentaire