- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
public BarrierAssessment(int id, Client client, int homephone, int mobile, int email, int transport, int licence, boolean notInWorkForce, boolean unpaidWork, boolean cdeProgram, boolean notWorkingBut, int paidWork,
String employerOcc, String reason, int highlevel, String further, int stableAccomodation, int loneParent, int livingWith, int policeProblems, int courtPending, int preventFrom, int medical, int drugTest, int currentBusy,
String scurrentBusy, String reasonForNotGettingJob, int startTomorrow, String jobGoals, int currentResume, int canvasLetter, int referees, int interviewClothing, String otherBarriers, int ec, LastModified lastModified,
Date datestamp, Date bupdated, String disabilityBarriers, Date licenceDueToExpire, Date licenceDueBack, String currentSkills, String possibleSkills) {
...
}
да, мой старый рекорд однозначно побит.
fixed
С другой стороны почему сюда еще не набижали адепты IoC, Guice и немутабельности (final-полей) чтобы объяснить нам что код нормален?
Потому все неконстантные поля, которые объявлены как final обычно мелькают в сигнатуре конструктора.
final public class Barrier {
private Barrier(.. дохрена параметро ..);
public class Builder {
.. внятный интерфейс для создания ..
}
}
Автор бы не прошел
Эльф 80-го левла?
Führer