Skip to content

Commit 8f123f8

Browse files
committed
POOJO inner classes got to be static
1 parent b9e001c commit 8f123f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

protobuf/src/main/java/com/fasterxml/jackson/dataformat/protobuf/schema/FileDescriptorSet.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static class DescriptorProto
125125
public DescriptorProto[] nested_type;
126126
public EnumDescriptorProto[] enum_type;
127127

128-
class ExtensionRange
128+
static class ExtensionRange
129129
{
130130
public int start;
131131
public int end;
@@ -135,7 +135,7 @@ class ExtensionRange
135135
public OneofDescriptorProto[] oneof_decl;
136136
public MessageOptions options;
137137

138-
class ReservedRange
138+
static class ReservedRange
139139
{
140140
public int start; // Inclusive.
141141
public int end; // Exclusive.
@@ -448,7 +448,7 @@ enum IdempotencyLevel
448448

449449
static class UninterpretedOption
450450
{
451-
class NamePart
451+
static class NamePart
452452
{
453453
public String name_part;
454454
public boolean is_extension;
@@ -467,7 +467,7 @@ static class SourceCodeInfo
467467
{
468468
public Location[] location;
469469

470-
class Location
470+
static class Location
471471
{
472472
public int[] path; // [packed=true];
473473
public int[] span; // [packed=true];
@@ -481,7 +481,7 @@ static class GeneratedCodeInfo
481481
{
482482
public Annotation[] annotation;
483483

484-
class Annotation
484+
static class Annotation
485485
{
486486
public long[] path; // [packed=true];
487487
public String source_file;

0 commit comments

Comments
 (0)