Skip to content

Commit c5535b8

Browse files
committed
a reformat code
1 parent 8b29ef9 commit c5535b8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

approvaltests/src/main/java/org/approvaltests/awt/GifSequenceWriter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
public class GifSequenceWriter implements AutoCloseable
3636
{
3737
private final int imageType;
38-
private final Duration timeBetweenFrames;
38+
private final Duration timeBetweenFrames;
3939
private final boolean loopContinuously;
4040
protected ImageWriter gifWriter;
4141
protected ImageWriteParam imageWriteParam;
@@ -94,8 +94,8 @@ static File writeAnimatedGif(File imageFile, List<Tuple<BufferedImage, Duration>
9494
{
9595
try (ImageOutputStream output = new FileImageOutputStream(imageFile))
9696
{
97-
try (GifSequenceWriter writer = new GifSequenceWriter(output, images.get(0).getFirst().getType(), Duration.ZERO,
98-
true))
97+
try (GifSequenceWriter writer = new GifSequenceWriter(output, images.get(0).getFirst().getType(),
98+
Duration.ZERO, true))
9999
{
100100
for (Tuple<BufferedImage, Duration> image : images)
101101
{

approvaltests/src/main/java/org/approvaltests/awt/PaintableMultiframeWriter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
public class PaintableMultiframeWriter implements ApprovalWriter
1616
{
17-
private int numberOfFrames;
18-
private Function1<Integer, Tuple<Paintable,Duration>> frameGetter;
19-
public PaintableMultiframeWriter(int numberOfFrames, Function1<Integer, Tuple<Paintable,Duration>> frameGetter)
17+
private int numberOfFrames;
18+
private Function1<Integer, Tuple<Paintable, Duration>> frameGetter;
19+
public PaintableMultiframeWriter(int numberOfFrames, Function1<Integer, Tuple<Paintable, Duration>> frameGetter)
2020
{
2121
this.numberOfFrames = numberOfFrames;
2222
this.frameGetter = frameGetter;

0 commit comments

Comments
 (0)