File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/test/java/com/rabbitmq/client/impl Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 7
7
import java .io .OutputStream ;
8
8
import java .math .BigDecimal ;
9
9
import java .math .BigInteger ;
10
- import java .util .ArrayDeque ;
11
- import java .util .Queue ;
12
10
13
11
public class ValueWriterTest {
14
12
@ Test (expected = IllegalArgumentException .class ) public void writingOverlyLargeBigDecimalShouldFail ()
15
13
throws IOException {
16
- Queue <Byte > queue = new ArrayDeque <>();
17
14
18
15
OutputStream outputStream = new OutputStream () {
19
16
@ Override
20
17
public void write (int b ) {
21
- queue .add ((byte ) b );
22
18
}
23
19
};
24
20
@@ -32,12 +28,10 @@ public void write(int b) {
32
28
33
29
@ Test (expected = IllegalArgumentException .class ) public void writingOverlyLargeScaleInBigDecimalShouldFail ()
34
30
throws IOException {
35
- Queue <Byte > queue = new ArrayDeque <>();
36
31
37
32
OutputStream outputStream = new OutputStream () {
38
33
@ Override
39
34
public void write (int b ) {
40
- queue .add ((byte ) b );
41
35
}
42
36
};
43
37
You can’t perform that action at this time.
0 commit comments