Skip to content

Commit 83f5128

Browse files
committed
Move classes only used by lite gen code to package private.
1 parent 6ea5f8d commit 83f5128

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

protobuf-api/src/main/java/com/google/protobuf/GeneratedMessageLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* @author [email protected] Kenton Varda
3636
*/
37-
public abstract class GeneratedMessageLite<
37+
abstract class GeneratedMessageLite<
3838
MessageType extends GeneratedMessageLite<MessageType, BuilderType>,
3939
BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>>
4040
extends AbstractMessageLite<MessageType, BuilderType> {

protobuf-api/src/main/java/com/google/protobuf/LazyFieldLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* @author [email protected] (Xiang Li)
3232
*/
33-
public class LazyFieldLite {
33+
class LazyFieldLite {
3434
private static final ExtensionRegistryLite EMPTY_REGISTRY =
3535
ExtensionRegistryLite.getEmptyRegistry();
3636

protobuf-api/src/main/java/com/google/protobuf/MapEntryLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* <p>Protobuf internal. Users shouldn't use.
2121
*/
22-
public class MapEntryLite<K, V> {
22+
class MapEntryLite<K, V> {
2323

2424
static class Metadata<K, V> {
2525
public final WireFormat.FieldType keyType;

protobuf-api/src/main/java/com/google/protobuf/MapFieldLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* <p>This class is a protobuf implementation detail. Users shouldn't use this class directly.
2323
*/
24-
public final class MapFieldLite<K, V> extends LinkedHashMap<K, V> {
24+
final class MapFieldLite<K, V> extends LinkedHashMap<K, V> {
2525

2626
private boolean isMutable;
2727

protobuf-api/src/main/java/com/google/protobuf/UnknownFieldSetLite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @author [email protected] (Daniel Weis)
2222
*/
23-
public final class UnknownFieldSetLite {
23+
final class UnknownFieldSetLite {
2424

2525
// Arbitrarily chosen.
2626
// TODO: Tune this number?

0 commit comments

Comments
 (0)