You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2021/04/08 22:56:25 UTC
[cxf] branch master updated: Fixed Checkstyle errors
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 3716cd8 Fixed Checkstyle errors
3716cd8 is described below
commit 3716cd8afda08fb1fd5a078b29e3e4ca0d1d238f
Author: reta <dr...@gmail.com>
AuthorDate: Thu Apr 8 18:55:46 2021 -0400
Fixed Checkstyle errors
---
core/src/main/java/org/apache/cxf/io/CacheAndWriteOutputStream.java | 2 +-
.../test/java/org/apache/cxf/io/CacheAndWriteOutputStreamTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/main/java/org/apache/cxf/io/CacheAndWriteOutputStream.java b/core/src/main/java/org/apache/cxf/io/CacheAndWriteOutputStream.java
index bc3df0c..482e68c 100644
--- a/core/src/main/java/org/apache/cxf/io/CacheAndWriteOutputStream.java
+++ b/core/src/main/java/org/apache/cxf/io/CacheAndWriteOutputStream.java
@@ -29,10 +29,10 @@ import java.io.OutputStream;
*
*/
public class CacheAndWriteOutputStream extends CachedOutputStream {
- private boolean isClosed = false;
OutputStream flowThroughStream;
long count;
long limit = Long.MAX_VALUE;
+ private boolean isClosed;
public CacheAndWriteOutputStream(OutputStream stream) {
super();
diff --git a/core/src/test/java/org/apache/cxf/io/CacheAndWriteOutputStreamTest.java b/core/src/test/java/org/apache/cxf/io/CacheAndWriteOutputStreamTest.java
index 171b6fd..0a97b66 100644
--- a/core/src/test/java/org/apache/cxf/io/CacheAndWriteOutputStreamTest.java
+++ b/core/src/test/java/org/apache/cxf/io/CacheAndWriteOutputStreamTest.java
@@ -18,11 +18,11 @@
*/
package org.apache.cxf.io;
-import org.junit.Test;
-
import java.io.ByteArrayOutputStream;
import java.io.IOException;
+import org.junit.Test;
+
public class CacheAndWriteOutputStreamTest extends CachedOutputStreamTest {
ByteArrayOutputStream baos = new ByteArrayOutputStream() {