Skip to content

Commit

Permalink
Solves bug that appars when a PFCDictionarySectionBig is closed but t…
Browse files Browse the repository at this point in the history
…he blocks where not initalized
  • Loading branch information
D063520 committed Oct 21, 2022
1 parent ea9db21 commit 0531f87
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hdt-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.rdfhdt</groupId>
<artifactId>hdt-java-parent</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
<relativePath>../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion hdt-java-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.rdfhdt</groupId>
<artifactId>hdt-java-parent</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hdt-java-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.rdfhdt</groupId>
<artifactId>hdt-java-parent</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</parent>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,10 @@ public void load(InputStream input, ProgressListener listener) throws IOExceptio
public void close() throws IOException {
data=null;
posFirst=null;
blocks.close();
//the constructor will not initialize blocks, so it can be null
if (blocks != null){
blocks.close();
}
blocks=null;
}
}
2 changes: 1 addition & 1 deletion hdt-java-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.rdfhdt</groupId>
<artifactId>hdt-java-parent</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hdt-jena/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.rdfhdt</groupId>
<artifactId>hdt-java-parent</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</parent>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<artifactId>hdt-java-parent</artifactId>
<packaging>pom</packaging>
<name>RDF/HDT</name>
<version>3.0.4</version>
<version>3.0.5</version>
<description>HDT (Header, Dictionary, Triples) is a compact data structure and binary
serialization format for RDF that keeps big datasets compressed to save space while
maintaining search and browse operations without prior decompression. This makes it an ideal
Expand Down

0 comments on commit 0531f87

Please sign in to comment.