Skip to content

Commit d9a0ae0

Browse files
authored
Merge develop into main in anticipation of 5.0.0 release (#5018)
2 parents 72a25ce + 1e08c3c commit d9a0ae0

1,910 files changed

Lines changed: 32565 additions & 36571 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assembly-descriptors/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.eclipse.rdf4j</groupId>
66
<artifactId>rdf4j</artifactId>
7-
<version>4.3.13-SNAPSHOT</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>rdf4j-assembly-descriptors</artifactId>
1010
<name>RDF4J: Assembly Descriptors</name>

assembly/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.eclipse.rdf4j</groupId>
66
<artifactId>rdf4j</artifactId>
7-
<version>4.3.13-SNAPSHOT</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>rdf4j-assembly</artifactId>
1010
<packaging>pom</packaging>

bom/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.eclipse.rdf4j</groupId>
66
<artifactId>rdf4j</artifactId>
7-
<version>4.3.13-SNAPSHOT</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>rdf4j-bom</artifactId>
1010
<packaging>pom</packaging>
@@ -309,11 +309,6 @@
309309
<artifactId>rdf4j-common-transaction</artifactId>
310310
<version>${project.version}</version>
311311
</dependency>
312-
<dependency>
313-
<groupId>org.eclipse.rdf4j</groupId>
314-
<artifactId>rdf4j-common-util</artifactId>
315-
<version>${project.version}</version>
316-
</dependency>
317312
<dependency>
318313
<groupId>org.eclipse.rdf4j</groupId>
319314
<artifactId>rdf4j-common-xml</artifactId>

compliance/elasticsearch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.eclipse.rdf4j</groupId>
66
<artifactId>rdf4j-compliance</artifactId>
7-
<version>4.3.13-SNAPSHOT</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>rdf4j-elasticsearch-compliance</artifactId>
1010
<name>RDF4J: Elasticsearch Sail Tests</name>

compliance/elasticsearch/src/test/java/org/eclipse/rdf4j/sail/elasticsearch/ElasticsearchIndexTest.java

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
import java.util.List;
1818
import java.util.Map;
1919
import java.util.Properties;
20-
import java.util.Set;
2120

2221
import org.eclipse.rdf4j.model.IRI;
2322
import org.eclipse.rdf4j.model.Literal;
24-
import org.eclipse.rdf4j.model.Resource;
2523
import org.eclipse.rdf4j.model.Statement;
2624
import org.eclipse.rdf4j.model.ValueFactory;
2725
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
@@ -307,9 +305,7 @@ public void testAddMultiple() throws Exception {
307305
assertStatement(statement22, document);
308306

309307
// check if the text field stores all added string values
310-
Set<String> texts = new HashSet<>();
311-
texts.add("cats");
312-
texts.add("dogs");
308+
HashSet<String> texts = new HashSet<>(List.of("cats", "dogs"));
313309
// FIXME
314310
// assertTexts(texts, document);
315311

@@ -377,7 +373,7 @@ public void testContexts() throws Exception {
377373

378374
// delete context 1
379375
connection.begin();
380-
connection.clear(new Resource[] { CONTEXT_1 });
376+
connection.clear(CONTEXT_1);
381377
connection.commit();
382378
assertNoStatement(statementContext111);
383379
assertNoStatement(statementContext121);
@@ -428,7 +424,7 @@ public void testContextsRemoveContext2() throws Exception {
428424

429425
// delete context 2
430426
connection.begin();
431-
connection.clear(new Resource[] { CONTEXT_2 });
427+
connection.clear(CONTEXT_2);
432428
connection.commit();
433429
assertStatement(statementContext111);
434430
assertStatement(statementContext121);
@@ -449,10 +445,10 @@ public void testRejectedDatatypes() {
449445
Literal literal2 = vf.createLiteral("hi there, too", STRING);
450446
Literal literal3 = vf.createLiteral("1.0");
451447
Literal literal4 = vf.createLiteral("1.0", FLOAT);
452-
assertEquals("Is the first literal accepted?", true, index.accept(literal1));
453-
assertEquals("Is the second literal accepted?", true, index.accept(literal2));
454-
assertEquals("Is the third literal accepted?", true, index.accept(literal3));
455-
assertEquals("Is the fourth literal accepted?", false, index.accept(literal4));
448+
assertTrue("Is the first literal accepted?", index.accept(literal1));
449+
assertTrue("Is the second literal accepted?", index.accept(literal2));
450+
assertTrue("Is the third literal accepted?", index.accept(literal3));
451+
assertFalse("Is the fourth literal accepted?", index.accept(literal4));
456452
}
457453

458454
private void assertStatement(Statement statement) throws Exception {
@@ -471,10 +467,6 @@ private void assertNoStatement(Statement statement) throws Exception {
471467
assertNoStatement(statement, document);
472468
}
473469

474-
/**
475-
* @param statement112
476-
* @param document
477-
*/
478470
private void assertStatement(Statement statement, SearchDocument document) {
479471
List<String> fields = document.getProperty(SearchFields.getPropertyField(statement.getPredicate()));
480472
assertNotNull("field " + statement.getPredicate() + " not found in document " + document, fields);
@@ -486,10 +478,6 @@ private void assertStatement(Statement statement, SearchDocument document) {
486478
fail("Statement not found in document " + statement);
487479
}
488480

489-
/**
490-
* @param statement112
491-
* @param document
492-
*/
493481
private void assertNoStatement(Statement statement, SearchDocument document) {
494482
List<String> fields = document.getProperty(SearchFields.getPropertyField(statement.getPredicate()));
495483
if (fields == null) {

compliance/elasticsearch/src/test/java/org/eclipse/rdf4j/sail/elasticsearch/ElasticsearchSailGeoSPARQLTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void tearDown() throws Exception {
7575
}
7676

7777
@Test
78-
public void testTriplesStored() throws Exception {
78+
public void testTriplesStored() {
7979
delegateTest.testTriplesStored();
8080
}
8181

compliance/elasticsearch/src/test/java/org/eclipse/rdf4j/sail/elasticsearch/ElasticsearchSailIndexedPropertiesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void tearDown() throws Exception {
7474
}
7575

7676
@Test
77-
public void testTriplesStored() throws Exception {
77+
public void testTriplesStored() {
7878
delegateTest.testTriplesStored();
7979
}
8080

compliance/elasticsearch/src/test/java/org/eclipse/rdf4j/sail/elasticsearch/ElasticsearchSailTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void tearDown() throws Exception {
7474
}
7575

7676
@Test
77-
public void testTriplesStored() throws Exception {
77+
public void testTriplesStored() {
7878
delegateTest.testTriplesStored();
7979
}
8080

@@ -133,17 +133,17 @@ public void testUnionQuery() throws RepositoryException, MalformedQueryException
133133
}
134134

135135
@Test
136-
public void testContextHandling() throws Exception {
136+
public void testContextHandling() {
137137
delegateTest.testContextHandling();
138138
}
139139

140140
@Test
141-
public void testConcurrentReadingAndWriting() throws Exception {
141+
public void testConcurrentReadingAndWriting() {
142142
delegateTest.testConcurrentReadingAndWriting();
143143
}
144144

145145
@Test
146-
public void testNullContextHandling() throws Exception {
146+
public void testNullContextHandling() {
147147
delegateTest.testNullContextHandling();
148148
}
149149

@@ -153,7 +153,7 @@ public void testFuzzyQuery() throws MalformedQueryException, RepositoryException
153153
}
154154

155155
@Test
156-
public void testReindexing() throws Exception {
156+
public void testReindexing() {
157157
delegateTest.testReindexing();
158158
}
159159

compliance/elasticsearch/src/test/java/org/elasticsearch/bootstrap/JarHell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ public class JarHell {
2424
private JarHell() {
2525
}
2626

27-
public static void checkJarHell() throws Exception {
27+
public static void checkJarHell() {
2828
}
2929

30-
public static void checkJarHell(URL urls[]) throws Exception {
30+
public static void checkJarHell(URL urls[]) {
3131
}
3232

3333
public static void checkVersionFormat(String targetVersion) {

compliance/geosparql/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.eclipse.rdf4j</groupId>
66
<artifactId>rdf4j-compliance</artifactId>
7-
<version>4.3.13-SNAPSHOT</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<artifactId>rdf4j-geosparql-compliance</artifactId>
1010
<name>RDF4J: GeoSPARQL compliance tests</name>

0 commit comments

Comments
 (0)