Skip to content

Commit

Permalink
inputstream
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Ivanchuk <clicker.heroes.acg@gmail.com>
  • Loading branch information
h1alexbel and l3r8yJ committed May 16, 2023
1 parent 11adcc8 commit a3149d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/io/github/eocqrs/kafka/fake/InFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ public InFile(final File file) throws Exception {
public XML xml() throws Exception {
synchronized (this.name) {
return new XMLDocument(
new TextOf(
new File(this.name)
).asString()
new InputStreamOf(this.name)
);
}
}
Expand Down

0 comments on commit a3149d5

Please sign in to comment.