Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Source JDK17->JDK20 #27

Merged
merged 2 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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