@@ -104,10 +104,7 @@ ArrayList<Object> toList() {
104104 static @ NonNull TextureMessage fromList (@ NonNull ArrayList <Object > list ) {
105105 TextureMessage pigeonResult = new TextureMessage ();
106106 Object textureId = list .get (0 );
107- pigeonResult .setTextureId (
108- (textureId == null )
109- ? null
110- : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
107+ pigeonResult .setTextureId ((textureId == null ) ? null : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
111108 return pigeonResult ;
112109 }
113110 }
@@ -178,10 +175,7 @@ ArrayList<Object> toList() {
178175 static @ NonNull LoopingMessage fromList (@ NonNull ArrayList <Object > list ) {
179176 LoopingMessage pigeonResult = new LoopingMessage ();
180177 Object textureId = list .get (0 );
181- pigeonResult .setTextureId (
182- (textureId == null )
183- ? null
184- : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
178+ pigeonResult .setTextureId ((textureId == null ) ? null : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
185179 Object isLooping = list .get (1 );
186180 pigeonResult .setIsLooping ((Boolean ) isLooping );
187181 return pigeonResult ;
@@ -254,10 +248,7 @@ ArrayList<Object> toList() {
254248 static @ NonNull VolumeMessage fromList (@ NonNull ArrayList <Object > list ) {
255249 VolumeMessage pigeonResult = new VolumeMessage ();
256250 Object textureId = list .get (0 );
257- pigeonResult .setTextureId (
258- (textureId == null )
259- ? null
260- : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
251+ pigeonResult .setTextureId ((textureId == null ) ? null : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
261252 Object volume = list .get (1 );
262253 pigeonResult .setVolume ((Double ) volume );
263254 return pigeonResult ;
@@ -330,10 +321,7 @@ ArrayList<Object> toList() {
330321 static @ NonNull PlaybackSpeedMessage fromList (@ NonNull ArrayList <Object > list ) {
331322 PlaybackSpeedMessage pigeonResult = new PlaybackSpeedMessage ();
332323 Object textureId = list .get (0 );
333- pigeonResult .setTextureId (
334- (textureId == null )
335- ? null
336- : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
324+ pigeonResult .setTextureId ((textureId == null ) ? null : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
337325 Object speed = list .get (1 );
338326 pigeonResult .setSpeed ((Double ) speed );
339327 return pigeonResult ;
@@ -406,15 +394,9 @@ ArrayList<Object> toList() {
406394 static @ NonNull PositionMessage fromList (@ NonNull ArrayList <Object > list ) {
407395 PositionMessage pigeonResult = new PositionMessage ();
408396 Object textureId = list .get (0 );
409- pigeonResult .setTextureId (
410- (textureId == null )
411- ? null
412- : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
397+ pigeonResult .setTextureId ((textureId == null ) ? null : ((textureId instanceof Integer ) ? (Integer ) textureId : (Long ) textureId ));
413398 Object position = list .get (1 );
414- pigeonResult .setPosition (
415- (position == null )
416- ? null
417- : ((position instanceof Integer ) ? (Integer ) position : (Long ) position ));
399+ pigeonResult .setPosition ((position == null ) ? null : ((position instanceof Integer ) ? (Integer ) position : (Long ) position ));
418400 return pigeonResult ;
419401 }
420402 }
0 commit comments