You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/05/05 00:32:15 UTC
svn commit: r1677704 - in
/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder:
TestCloseWithInputStream.java TestCloseWithReader.java
TestCloseWithXMLStreamReader.java
Author: veithen
Date: Mon May 4 22:32:15 2015
New Revision: 1677704
URL: http://svn.apache.org/r1677704
Log:
Replace tabs with spaces.
Modified:
webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithInputStream.java
webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithReader.java
webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithXMLStreamReader.java
Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithInputStream.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithInputStream.java?rev=1677704&r1=1677703&r2=1677704&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithInputStream.java (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithInputStream.java Mon May 4 22:32:15 2015
@@ -27,11 +27,11 @@ import org.apache.axiom.testutils.io.Clo
import org.apache.axiom.ts.AxiomTestCase;
public class TestCloseWithInputStream extends AxiomTestCase {
- public TestCloseWithInputStream(OMMetaFactory metaFactory) {
- super(metaFactory);
- }
+ public TestCloseWithInputStream(OMMetaFactory metaFactory) {
+ super(metaFactory);
+ }
- protected void runTest() throws Throwable {
+ protected void runTest() throws Throwable {
CloseSensorInputStream in = new CloseSensorInputStream(AbstractTestCase.getTestResource(TestConstants.TEST));
try {
OMXMLParserWrapper builder = OMXMLBuilderFactory.createOMBuilder(metaFactory.getOMFactory(), in);
@@ -42,5 +42,5 @@ public class TestCloseWithInputStream ex
} finally {
in.close();
}
- }
+ }
}
Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithReader.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithReader.java?rev=1677704&r1=1677703&r2=1677704&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithReader.java (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithReader.java Mon May 4 22:32:15 2015
@@ -27,11 +27,11 @@ import org.apache.axiom.testutils.io.Clo
import org.apache.axiom.ts.AxiomTestCase;
public class TestCloseWithReader extends AxiomTestCase {
- public TestCloseWithReader(OMMetaFactory metaFactory) {
- super(metaFactory);
- }
+ public TestCloseWithReader(OMMetaFactory metaFactory) {
+ super(metaFactory);
+ }
- protected void runTest() throws Throwable {
+ protected void runTest() throws Throwable {
CloseSensorReader in = new CloseSensorReader(new StringReader("<root><child/></root>"));
try {
OMXMLParserWrapper builder = OMXMLBuilderFactory.createOMBuilder(metaFactory.getOMFactory(), in);
@@ -42,5 +42,5 @@ public class TestCloseWithReader extends
} finally {
in.close();
}
- }
+ }
}
Modified: webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithXMLStreamReader.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithXMLStreamReader.java?rev=1677704&r1=1677703&r2=1677704&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithXMLStreamReader.java (original)
+++ webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/builder/TestCloseWithXMLStreamReader.java Mon May 4 22:32:15 2015
@@ -31,11 +31,11 @@ import org.apache.axiom.om.util.StAXUtil
import org.apache.axiom.ts.AxiomTestCase;
public class TestCloseWithXMLStreamReader extends AxiomTestCase {
- public TestCloseWithXMLStreamReader(OMMetaFactory metaFactory) {
- super(metaFactory);
- }
+ public TestCloseWithXMLStreamReader(OMMetaFactory metaFactory) {
+ super(metaFactory);
+ }
- protected void runTest() throws Throwable {
+ protected void runTest() throws Throwable {
InputStream in = AbstractTestCase.getTestResource(TestConstants.TEST);
try {
XMLStreamReader reader = StAXUtils.createXMLStreamReader(in);
@@ -55,5 +55,5 @@ public class TestCloseWithXMLStreamReade
} finally {
in.close();
}
- }
+ }
}