BJ-285: Increase ByteBuffer print length to 4096 (#32)

This commit is contained in:
Vladimir Pankrashkin 2018-05-10 15:16:10 +03:00 committed by GitHub
parent 01ddd19a0a
commit 28a765a317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

@ -1 +1 @@
Subproject commit 8dd1d30e97e4db20c9da98a5ddb261b199402bc0
Subproject commit f7fe66c9f3d4f37566a04c521b28aa168b7a88ec

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>woody</artifactId>
<groupId>com.rbkmoney.woody</groupId>
<version>1.1.12</version>
<version>1.1.13</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -247,7 +247,7 @@ public final class TBaseHelper {
int arrayOffset = bb.arrayOffset();
int offset = arrayOffset + bb.position();
int origLimit = arrayOffset + bb.limit();
int limit = (origLimit - offset > 128) ? offset + 128 : origLimit;
int limit = (origLimit - offset > 4096) ? offset + 4096 : origLimit;
for (int i = offset; i < limit; i++) {
if (i > offset) {

View File

@ -12,7 +12,7 @@
<packaging>pom</packaging>
<groupId>com.rbkmoney.woody</groupId>
<artifactId>woody</artifactId>
<version>1.1.12</version>
<version>1.1.13</version>
<description>Java implementation for Woody spec</description>
@ -36,7 +36,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<version>1.7.25</version>
</dependency>
</dependencies>
</dependencyManagement>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>woody</artifactId>
<groupId>com.rbkmoney.woody</groupId>
<version>1.1.12</version>
<version>1.1.13</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>woody</artifactId>
<groupId>com.rbkmoney.woody</groupId>
<version>1.1.12</version>
<version>1.1.13</version>
</parent>
<modelVersion>4.0.0</modelVersion>