public static final String CONTACT_TITLE2 = "PHD"; //NOI18N
- public static final Integer CONTACT_ZIP_CODE1 = 12345;
+ public static final Integer CONTACT_ZIP_CODE1 = 12_345;
- public static final Integer CONTACT_ZIP_CODE2 = 67890;
+ public static final Integer CONTACT_ZIP_CODE2 = 67_890;
static {
// Fake ids
);
// Should always be false
- Assert.assertFalse(contact.equals(null));
+ Assert.assertFalse(contact == null);
}
@Test (description = "Tests Contact.equals() with null and set primary key")
ContactTestData.CONTACT_COUNTRY1,
Boolean.FALSE,
ContactTestData.CONTACT_STREET_NAME1,
- Short.parseShort("-1"), //NOI18N
+ Short.valueOf("-1"), //NOI18N
ContactTestData.CONTACT_HOUSE_NUMBER_EXTENSION1,
ContactTestData.CONTACT_ZIP_CODE1,
ContactTestData.CONTACT_CITY1,
ContactTestData.CONTACT_STREET_NAME1,
ContactTestData.CONTACT_HOUSE_NUMBER1,
ContactTestData.CONTACT_HOUSE_NUMBER_EXTENSION1,
- 67890,
+ 67_890,
ContactTestData.CONTACT_CITY1,
ContactTestData.CONTACT_EMAIL1,
ContactTestData.CONTACT_TITLE1,