File tree 1 file changed +3
-3
lines changed
properties/src/test/java/com/fasterxml/jackson/dataformat/javaprop
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
package com .fasterxml .jackson .dataformat .javaprop ;
2
2
3
- import com .fasterxml .jackson .core .JsonParser ;
3
+ import com .fasterxml .jackson .core .StreamReadFeature ;
4
4
import com .fasterxml .jackson .databind .ObjectMapper ;
5
5
import com .fasterxml .jackson .dataformat .javaprop .testutil .CloseStateInputStream ;
6
6
import com .fasterxml .jackson .dataformat .javaprop .testutil .CloseStateReader ;
@@ -30,7 +30,7 @@ public void testInputStreamClosing() throws Exception
30
30
in = CloseStateInputStream .forString ("value = 42" );
31
31
assertFalse (in .closed );
32
32
result = PROPS_MAPPER .readerFor (Bean179 .class )
33
- .without (JsonParser . Feature .AUTO_CLOSE_SOURCE )
33
+ .without (StreamReadFeature .AUTO_CLOSE_SOURCE )
34
34
.readValue (in );
35
35
assertNotNull (result );
36
36
assertTrue (in .closed );
@@ -49,7 +49,7 @@ public void testReaderClosing() throws Exception
49
49
r = CloseStateReader .forString ("value = 42" );
50
50
assertFalse (r .closed );
51
51
result = PROPS_MAPPER .readerFor (Bean179 .class )
52
- .without (JsonParser . Feature .AUTO_CLOSE_SOURCE )
52
+ .without (StreamReadFeature .AUTO_CLOSE_SOURCE )
53
53
.readValue (r );
54
54
assertNotNull (result );
55
55
assertTrue (r .closed );
You can’t perform that action at this time.
0 commit comments