@@ -80,7 +80,7 @@ public abstract class AvroTestBase extends TestCase
8080    /********************************************************** 
8181     */ 
8282
83-     public  static  class  PointLong 
83+     protected  static  class  PointLong 
8484    {
8585        public  long  x , y ;
8686
@@ -92,7 +92,7 @@ public PointLong(long x0, long y0) {
9292        }
9393    }
9494
95-     public  static  class  PointDouble 
95+     protected  static  class  PointDouble 
9696    {
9797        public  double  x , y ;
9898
@@ -104,6 +104,7 @@ public PointDouble(long x0, long y0) {
104104        }
105105    }
106106
107+     // public because needed by "AvroAliasTest" 
107108    public  static  class  Employee 
108109    {
109110        public  Employee () { }
@@ -126,7 +127,7 @@ public static Employee construct() {
126127    }
127128
128129    @ JsonPropertyOrder ({"content" , "images" })
129-     static  class  MediaItem 
130+     protected   static  class  MediaItem 
130131    {
131132        private  MediaContent  _content ;
132133        private  List <Image > _images ;
@@ -153,7 +154,7 @@ public void addPhoto(Image p) {
153154
154155    @ JsonPropertyOrder (alphabetic =true , value  = {
155156            "uri" ,"title" ,"width" ,"height" ,"format" ,"duration" ,"size" ,"bitrate" ,"persons" ,"player" ,"copyright" })
156-     static  class  MediaContent 
157+     protected   static  class  MediaContent 
157158    {
158159        public  enum  Player  { JAVA , FLASH ;  }
159160
@@ -218,7 +219,7 @@ public void addPerson(String p) {
218219    }
219220
220221    @ JsonPropertyOrder ({"uri" ,"title" ,"width" ,"height" ,"size" })
221-     static  class  Image 
222+     protected   static  class  Image 
222223    {
223224        private  String  _uri ;
224225        private  String  _title ;
@@ -249,16 +250,17 @@ public Image(String uri, String title, int w, int h, Size s)
249250      public  void  setSize (Size  s ) { _size  = s ; }
250251    }
251252
253+     // public because needed by "AvroAliasTest" 
252254    public  enum  Size  { SMALL , LARGE ; }
253255
254-     public  enum  ABC  {  
256+     protected  enum  ABC  {
255257		A , 
256258		B , 
257259		@ JsonEnumDefaultValue 
258260		C ; 
259- 	 }
261+      }
260262
261-     public  static  class  ABCDefaultClass  {
263+     protected  static  class  ABCDefaultClass  {
262264        public  String  name ;
263265        @ JsonProperty (required  = true )
264266        public  ABC  abc ;
0 commit comments