File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
hibernate-core/src/main/java/org/hibernate/type/format Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ private void moveProcessingStateMachine() {
173173 if ( this .processingStates .getCurrent ().equals ( JsonProcessingState .ARRAY ) ) {
174174 this .processingStates .pop ();
175175 }
176- assert this .processingStates .pop ().equals ( JsonProcessingState .STARTING_ARRAY );
176+ final JsonProcessingState arrayStart = this .processingStates .pop ();
177+ assert arrayStart .equals ( JsonProcessingState .STARTING_ARRAY );
177178 break ;
178179 case ENDING_OBJECT :
179180 // when ending an object, we have one or two states.
@@ -185,7 +186,8 @@ private void moveProcessingStateMachine() {
185186 if ( this .processingStates .getCurrent ().equals ( JsonProcessingState .OBJECT ) ) {
186187 this .processingStates .pop ();
187188 }
188- assert this .processingStates .pop ().equals ( JsonProcessingState .STARTING_OBJECT );
189+ final JsonProcessingState objectStart = this .processingStates .pop ();
190+ assert objectStart .equals ( JsonProcessingState .STARTING_OBJECT );
189191 break ;
190192 default :
191193 //nothing to do for the other ones.
You can’t perform that action at this time.
0 commit comments