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
c265fbe3
Commit
c265fbe3
authored
Feb 17, 2015
by
Jisi Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark factory setter API as private for alpha release.
parent
d1bbd856
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
MapFactories.java
.../src/main/java/com/google/protobuf/nano/MapFactories.java
+5
-1
No files found.
javanano/src/main/java/com/google/protobuf/nano/MapFactories.java
View file @
c265fbe3
...
...
@@ -41,7 +41,11 @@ public final class MapFactories {
<
K
,
V
>
Map
<
K
,
V
>
forMap
(
Map
<
K
,
V
>
oldMap
);
}
public
static
void
setMapFactory
(
MapFactory
newMapFactory
)
{
// NOTE(liujisi): The factory setter is temporarily marked as package private.
// The way to provide customized implementations of maps for different
// platforms are still under discussion. Mark it as private to avoid exposing
// the API in proto3 alpha release.
/* public */
static
void
setMapFactory
(
MapFactory
newMapFactory
)
{
mapFactory
=
newMapFactory
;
}
...
...
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