View | Details | Raw Unified | Return to bug 59607
Collapse All | Expand All

(-)a/src/core/org/apache/jmeter/save/SaveService.java (-6 lines)
Lines 18-24 Link Here
18
18
19
package org.apache.jmeter.save;
19
package org.apache.jmeter.save;
20
20
21
import java.io.BufferedInputStream;
22
import java.io.BufferedReader;
21
import java.io.BufferedReader;
23
import java.io.File;
22
import java.io.File;
24
import java.io.FileInputStream;
23
import java.io.FileInputStream;
Lines 513-522 public class SaveService { Link Here
513
     */
512
     */
514
    private static HashTree readTree(InputStream reader, File file)
513
    private static HashTree readTree(InputStream reader, File file)
515
            throws IOException {
514
            throws IOException {
516
        if (!reader.markSupported()) {
517
            reader = new BufferedInputStream(reader);
518
        }
519
        reader.mark(Integer.MAX_VALUE);
520
        ScriptWrapper wrapper = null;
515
        ScriptWrapper wrapper = null;
521
        try {
516
        try {
522
            // Get the InputReader to use
517
            // Get the InputReader to use
523
- 

Return to bug 59607