Skip to content

Commit

Permalink
clean up MatParser
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Aug 11, 2016
1 parent 85e5385 commit 8a68b5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tika-parsers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@

<!-- Upstream parser libraries -->
<dependency>
<groupId>net.sourceforge.jmatio</groupId>
<groupId>org.tallison</groupId>
<artifactId>jmatio</artifactId>
<version>1.0</version>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@

public class MatParser extends AbstractParser {

static {
//make sure that this is set to false
MatFileReader.setAllowObjectDeserialization(false);
}

public static final String MATLAB_MIME_TYPE =
"application/x-matlab-data";

Expand Down

0 comments on commit 8a68b5d

Please sign in to comment.