Skip to content

Commit

Permalink
Applying IDE-Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Mar 24, 2024
1 parent 23770d1 commit 1eed479
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class CodeTypeImpl implements CodeType {
* @param identifier must not be null
*/
public CodeTypeImpl(final String resolved, final String identifier) {
super();
this.resolved = requireNonNull(resolved, "resolved must not be null");
this.identifier = requireNonNull(identifier, "identifier must not be null");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public class EntryData<K extends Serializable, V extends Serializable> implement
* @param key must not be {@code null}
*/
public EntryData(@NonNull final K key) {
super();
this.key = key;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ void shouldCreateBooleanField() {

@Test
void shouldCreateLongField() {
DynamicField<? extends Serializable> booleanField = DynamicFieldType.LONG.createDynamicField(1l, true);
DynamicField<? extends Serializable> booleanField = DynamicFieldType.LONG.createDynamicField(1L, true);
assertNotNull(booleanField);
assertEquals(DynamicFieldType.LONG, booleanField.getFieldType());
assertEquals(1l, booleanField.getValue());
assertEquals(1L, booleanField.getValue());

assertTrue(booleanField.isEditable());
assertTrue(booleanField.isAvailable());
Expand Down

0 comments on commit 1eed479

Please sign in to comment.