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() {
173
173
if ( this .processingStates .getCurrent ().equals ( JsonProcessingState .ARRAY ) ) {
174
174
this .processingStates .pop ();
175
175
}
176
- assert this .processingStates .pop ().equals ( JsonProcessingState .STARTING_ARRAY );
176
+ final JsonProcessingState arrayStart = this .processingStates .pop ();
177
+ assert arrayStart .equals ( JsonProcessingState .STARTING_ARRAY );
177
178
break ;
178
179
case ENDING_OBJECT :
179
180
// when ending an object, we have one or two states.
@@ -185,7 +186,8 @@ private void moveProcessingStateMachine() {
185
186
if ( this .processingStates .getCurrent ().equals ( JsonProcessingState .OBJECT ) ) {
186
187
this .processingStates .pop ();
187
188
}
188
- assert this .processingStates .pop ().equals ( JsonProcessingState .STARTING_OBJECT );
189
+ final JsonProcessingState objectStart = this .processingStates .pop ();
190
+ assert objectStart .equals ( JsonProcessingState .STARTING_OBJECT );
189
191
break ;
190
192
default :
191
193
//nothing to do for the other ones.
You can’t perform that action at this time.
0 commit comments