Skip to content

Commit 54d23cc

Browse files
committed
test: removed unnecessary code
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 362538f commit 54d23cc

File tree

1 file changed

+0
-8
lines changed
  • jnosql-mongodb/src/test/java/org/eclipse/jnosql/databases/mongodb/integration

1 file changed

+0
-8
lines changed

jnosql-mongodb/src/test/java/org/eclipse/jnosql/databases/mongodb/integration/AsciiCharacter.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ public record AsciiCharacter(
3131
@Column
3232
Boolean isoControl) {
3333

34-
public static boolean isValidAsciiCharacter(int numericPosition) {
35-
return numericPosition > 0 || numericPosition <= 127;
36-
}
37-
3834
public static AsciiCharacter of(int value) {
39-
if (!isValidAsciiCharacter(value))
40-
throw new IllegalArgumentException(
41-
"%d is not an ASCII character supported. It should be greater than 0 and less than 127."
42-
.formatted(value));
4335
char thisCharacter = (char) value;
4436
return new AsciiCharacter(
4537
Integer.toUnsignedLong(value),

0 commit comments

Comments
 (0)