Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
82b43d1f
Commit
82b43d1f
authored
Jul 18, 2016
by
Feng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Java deterministic API.
Change-Id: I43f7e04a53d1445dfa86db310bdb18ceb446398c
parent
3d9726f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
CHANGES.txt
CHANGES.txt
+1
-4
CodedOutputStream.java
.../src/main/java/com/google/protobuf/CodedOutputStream.java
+1
-1
No files found.
CHANGES.txt
View file @
82b43d1f
2016-07-15 version 3.0.0-beta-4 (C++/Java/Python/Ruby/Objective-C/C#/JavaScript)
2016-07-15 version 3.0.0-beta-4 (C++/Java/Python/Ruby/Objective-C/C#/JavaScript)
General
General
* Added a deterministic serialization API for C++
and Java
. The deterministic
* Added a deterministic serialization API for C++. The deterministic
serialization guarantees that given a binary, equal messages will be
serialization guarantees that given a binary, equal messages will be
serialized to the same bytes. This allows applications like MapReduce to
serialized to the same bytes. This allows applications like MapReduce to
group equal messages based on the serialized bytes. The deterministic
group equal messages based on the serialized bytes. The deterministic
...
@@ -36,9 +36,6 @@
...
@@ -36,9 +36,6 @@
* Various performance optimizations.
* Various performance optimizations.
Java (beta)
Java (beta)
* Introduced a deterministic serialization API in
CodedOutputStream#useDeterministicSerialization(). See the notes about
deterministic serialization in the General section.
* File option "java_generate_equals_and_hash" is now deprecated. equals() and
* File option "java_generate_equals_and_hash" is now deprecated. equals() and
hashCode() methods are generated by default.
hashCode() methods are generated by default.
* Added a new JSON printer option "omittingInsignificantWhitespace" to produce
* Added a new JSON printer option "omittingInsignificantWhitespace" to produce
...
...
java/core/src/main/java/com/google/protobuf/CodedOutputStream.java
View file @
82b43d1f
...
@@ -173,7 +173,7 @@ public abstract class CodedOutputStream extends ByteOutput {
...
@@ -173,7 +173,7 @@ public abstract class CodedOutputStream extends ByteOutput {
* maps are sorted on the lexicographical order of the UTF8 encoded keys.
* maps are sorted on the lexicographical order of the UTF8 encoded keys.
* </ul>
* </ul>
*/
*/
public
final
void
useDeterministicSerialization
()
{
void
useDeterministicSerialization
()
{
serializationDeterministic
=
true
;
serializationDeterministic
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment