File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/types Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,7 @@ protected Collection<Class<?>> annotatedEntities() {
5252 @ Test
5353 public void testStringLobType (VertxTestContext context ) {
5454 String text = "hello world once upon a time it was the best of times it was the worst of times goodbye" ;
55- StringBuilder longText = new StringBuilder ();
56- longText .append ( text .repeat ( 1000 ) );
57- String book = longText .toString ();
55+ String book = text .repeat ( 1000 );
5856
5957 Basic basic = new Basic ();
6058 basic .book = book ;
@@ -65,9 +63,7 @@ public void testStringLobType(VertxTestContext context) {
6563 @ Test
6664 public void testBytesLobType (VertxTestContext context ) {
6765 String text = "hello world once upon a time it was the best of times it was the worst of times goodbye" ;
68- StringBuilder longText = new StringBuilder ();
69- longText .append ( text .repeat ( 1000 ) );
70- byte [] pic = longText .toString ().getBytes ();
66+ byte [] pic = text .repeat ( 1000 ).getBytes ();
7167
7268 Basic basic = new Basic ();
7369 basic .pic = pic ;
You can’t perform that action at this time.
0 commit comments