Skip to content

Commit

Permalink
Merge pull request #27 from ebremer/develop
Browse files Browse the repository at this point in the history
Bump Source JDK17->JDK20
  • Loading branch information
ebremer authored Jun 14, 2023
2 parents e4f9f92 + a5fe110 commit 4d444c8
Show file tree
Hide file tree
Showing 13 changed files with 233 additions and 415 deletions.
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.ebremer</groupId>
<artifactId>Halcyon</artifactId>
<version>0.5.1</version>
<version>0.6.0</version>
<packaging>jar</packaging>
<name>Halcyon</name>
<description>A whole slide image annotation, management, and visualization system</description>
Expand Down Expand Up @@ -69,8 +69,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<java.version>17</java.version>
<jena.version>4.8.0</jena.version>
<wicket.ver>9.14.0</wicket.ver>
Expand Down Expand Up @@ -165,7 +165,6 @@
<icon>src\main\resources\META-INF\halcyon.ico</icon>
<destination>dist</destination>
<javaOptions>
<option>--enable-preview</option>
<option>-Dfile.encoding=UTF-8</option>
</javaOptions>
</configuration>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/ebremer/ethereal/SelectDataProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ private void updateCount() {
StopWatch w = new StopWatch();
Query q = getQuery();
Dataset ds = dds.load();
ds.begin(ReadWrite.READ);
QueryExecution qe = QueryExecutionFactory.create(q,ds);
ResultSet rs = qe.execSelect().materialise();
ds.end();
ds.begin(ReadWrite.READ);
ResultSet rs = qe.execSelect();
size = 0;
while (rs.hasNext()) {
rs.next();
size++;
}
ds.end();
w.getTime("updateCount() "+size);
}

Expand Down
Loading

0 comments on commit 4d444c8

Please sign in to comment.