File tree 2 files changed +1
-2
lines changed
src/protocol/http/src/main
java/org/apache/jmeter/protocol/http/gui/action
resources/org/apache/jmeter/protocol/http/gui/action
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 29
29
import java .net .MalformedURLException ;
30
30
import java .net .URL ;
31
31
import java .nio .charset .StandardCharsets ;
32
- import java .nio .file .Paths ;
33
32
import java .text .MessageFormat ;
34
33
import java .time .LocalDateTime ;
35
34
import java .time .format .DateTimeFormatter ;
@@ -137,7 +136,7 @@ public class ParseCurlCommandAction extends AbstractAction implements MenuCreato
137
136
138
137
private Tika createTika () {
139
138
try {
140
- return new Tika (new TikaConfig (Paths . get ( JMeterUtils . getJMeterBinDir (), "tika-config.xml" )));
139
+ return new Tika (new TikaConfig (this . getClass (). getClassLoader (). getResourceAsStream ( "tika-config.xml" )));
141
140
} catch (TikaException | IOException | SAXException e ) {
142
141
return new Tika ();
143
142
}
File renamed without changes.
You can’t perform that action at this time.
0 commit comments