Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
any2txt
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
any2txt
Commits
d62c6240
Commit
d62c6240
authored
2 years ago
by
Paweł Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
repair
parent
68167da0
1 merge request
!1
Support xml
Pipeline
#10769
failed with stage
in 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
module/src/main/java/pl/clarin/any2txt/Converter.java
+0
-1
0 additions, 1 deletion
module/src/main/java/pl/clarin/any2txt/Converter.java
with
0 additions
and
1 deletion
module/src/main/java/pl/clarin/any2txt/Converter.java
+
0
−
1
View file @
d62c6240
...
@@ -116,7 +116,6 @@ public class Converter extends Worker {
...
@@ -116,7 +116,6 @@ public class Converter extends Worker {
if
(
ex
.
getMessage
().
contains
(
"XML parse error"
))
{
if
(
ex
.
getMessage
().
contains
(
"XML parse error"
))
{
try
{
try
{
inS
.
close
();
inS
.
close
();
file
.
close
();
Logger
.
getLogger
(
Converter
.
class
.
getName
()).
log
(
Level
.
INFO
,
"Filename "
+
fileIn
+
" "
+
new
File
(
"."
).
getAbsolutePath
());
Logger
.
getLogger
(
Converter
.
class
.
getName
()).
log
(
Level
.
INFO
,
"Filename "
+
fileIn
+
" "
+
new
File
(
"."
).
getAbsolutePath
());
DocumentBuilder
builder
=
DocumentBuilderFactory
.
newInstance
().
newDocumentBuilder
();
DocumentBuilder
builder
=
DocumentBuilderFactory
.
newInstance
().
newDocumentBuilder
();
Document
doc
=
builder
.
parse
(
new
File
(
fileIn
));
Document
doc
=
builder
.
parse
(
new
File
(
fileIn
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment