Projects
openEuler:Mainline
gradle
_service:tar_scm:0007-Port-to-Kryo-3.0.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0007-Port-to-Kryo-3.0.patch of Package gradle
From 67e10af4d925d4cef15be9aa48781d439c29f171 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski <mizdebsk@redhat.com> Date: Fri, 12 Jun 2015 12:04:53 +0200 Subject: [PATCH 07/17] Port to Kryo 3.0 --- .../org/gradle/internal/serialize/kryo/KryoBackedEncoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/messaging/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java b/subprojects/messaging/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java index c63e4340069..9f93df4ab8a 100644 --- a/subprojects/messaging/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java +++ b/subprojects/messaging/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java @@ -78,7 +78,7 @@ public class KryoBackedEncoder extends AbstractEncoder implements FlushableEncod * Returns the total number of bytes written by this encoder, some of which may still be buffered. */ public int getWritePosition() { - return output.total(); + return (int)output.total(); } public void flush() { -- 2.17.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2