Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…e-rdf4jGH-405-add-alt-bag-seq
  • Loading branch information
reeshabhranjan committed May 21, 2020
2 parents 41e694b + 27c8ad8 commit ea5c0fe
Show file tree
Hide file tree
Showing 1,983 changed files with 79,140 additions and 11,806 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [1.8, 11]
jdk: [1.8, 13]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [1.8, 11]
jdk: [1.8, 13]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PROJECT_URL: https://github.com/eclipse/rdf4j/projects/19
GITHUB_PROJECT_COLUMN_NAME: Inbox
GITHUB_PROJECT_COLUMN_NAME: 📥 Inbox

2 changes: 1 addition & 1 deletion .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [1.8, 11]
jdk: [1.8, 13]

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

This is the main code repository for the Eclipse RDF4J project.

![](https://github.com/eclipse/rdf4j/workflows/master%20status/badge.svg)
![](https://github.com/eclipse/rdf4j/workflows/develop%20status/badge.svg)
[![master status](https://github.com/eclipse/rdf4j/workflows/master%20status/badge.svg)](https://github.com/eclipse/rdf4j/actions?query=workflow%3A%22master+status%22)
[![develop status](https://github.com/eclipse/rdf4j/workflows/develop%20status/badge.svg)](https://github.com/eclipse/rdf4j/actions?query=workflow%3A%22develop+status%22)

Visit the [project website](https://rdf4j.org/) for news, documentation, and downloadable releases.

Expand Down
2 changes: 1 addition & 1 deletion assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-assembly</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-bom</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion compliance/elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-elasticsearch-compliance</artifactId>
<name>RDF4J Elasticsearch Sail Tests</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

@ClusterScope(numDataNodes = 1)
Expand Down Expand Up @@ -443,15 +442,17 @@ public void testRejectedDatatypes() {

private void assertStatement(Statement statement) throws Exception {
SearchDocument document = index.getDocument(statement.getSubject(), statement.getContext());
if (document == null)
if (document == null) {
fail("Missing document " + statement.getSubject());
}
assertStatement(statement, document);
}

private void assertNoStatement(Statement statement) throws Exception {
SearchDocument document = index.getDocument(statement.getSubject(), statement.getContext());
if (document == null)
if (document == null) {
return;
}
assertNoStatement(statement, document);
}

Expand All @@ -463,8 +464,9 @@ private void assertStatement(Statement statement, SearchDocument document) {
List<String> fields = document.getProperty(SearchFields.getPropertyField(statement.getPredicate()));
assertNotNull("field " + statement.getPredicate() + " not found in document " + document, fields);
for (String f : fields) {
if (((Literal) statement.getObject()).getLabel().equals(f))
if (((Literal) statement.getObject()).getLabel().equals(f)) {
return;
}
}
fail("Statement not found in document " + statement);
}
Expand All @@ -475,11 +477,13 @@ private void assertStatement(Statement statement, SearchDocument document) {
*/
private void assertNoStatement(Statement statement, SearchDocument document) {
List<String> fields = document.getProperty(SearchFields.getPropertyField(statement.getPredicate()));
if (fields == null)
if (fields == null) {
return;
}
for (String f : fields) {
if (((Literal) statement.getObject()).getLabel().equals(f))
if (((Literal) statement.getObject()).getLabel().equals(f)) {
fail("Statement should not be found in document " + statement);
}
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

@ClusterScope(numDataNodes = 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

@ClusterScope(numDataNodes = 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@

/**
* Example code showing how to use the LuceneSail
*
*
* @author sauermann
*/
public class ElasticsearchSailExample {

/**
* Create a lucene sail and use it
*
*
* @param args
*/
public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.Collections;
import java.util.Set;
import java.util.function.Consumer;
import java.util.logging.Logger;

/**
* test of elasticsearch pass. Thus as a workaround we deactivate this test. see
Expand Down
2 changes: 1 addition & 1 deletion compliance/geosparql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-geosparql-compliance</artifactId>
<name>RDF4J GeoSPARQL compliance tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/lucene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-lucene-compliance</artifactId>
<name>RDF4J Lucene Sail Tests</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
*******************************************************************************/
package org.eclipse.rdf4j.sail.lucene;

import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class LuceneSailIndexedPropertiesTest extends AbstractLuceneSailIndexedPr

/*
* (non-Javadoc)
*
*
* @see
* org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailIndexedPropertiesTest#configure(org.eclipse.rdf4j.sail.lucene.
* LuceneSail)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class LuceneSailTest extends AbstractLuceneSailTest {

/*
* (non-Javadoc)
*
*
* @see org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailTest#configure(org.eclipse.rdf4j.sail.lucene.LuceneSail)
*/
@Override
Expand Down
2 changes: 1 addition & 1 deletion compliance/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>rdf4j-compliance</artifactId>
<groupId>org.eclipse.rdf4j</groupId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rdf4j-model-compliance</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.model;

import org.eclipse.rdf4j.model.impl.DynamicModel;
import org.eclipse.rdf4j.model.impl.LinkedHashModelFactory;

public class DynamicModelTest extends AbstractModelTest {

@Override
protected Model getNewModel() {
return new DynamicModel(new LinkedHashModelFactory());
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Tests for {@link Namespace} support in {@link LinkedHashModel} using the abstract tests defined in
* {@link ModelNamespacesTest}.
*
*
* @author Peter Ansell p_ansell@yahoo.com
*/
public class LinkedHashModelNamespacesTest extends ModelNamespacesTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Tests for {@link Namespace} support in {@link TreeModel} using the abstract tests defined in
* {@link ModelNamespacesTest}.
*
*
* @author Peter Ansell p_ansell@yahoo.com
*/
public class TreeModelNamespacesTest extends ModelNamespacesTest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 201 Eclipse RDF4J contributors.
* Copyright (c) 2019 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 201 Eclipse RDF4J contributors.
* Copyright (c) 2019 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 201 Eclipse RDF4J contributors.
* Copyright (c) 2019 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
Expand Down
2 changes: 1 addition & 1 deletion compliance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-compliance</artifactId>
<packaging>pom</packaging>
Expand Down
14 changes: 1 addition & 13 deletions compliance/repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>3.1.5-SNAPSHOT</version>
<version>3.2.2-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-repository-compliance</artifactId>
<packaging>war</packaging>
Expand Down Expand Up @@ -56,18 +56,6 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>rdf4j-repository-sail</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>rdf4j-sail-memory</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

/**
* Integration tests for {@link LocalRepositoryManager}
*
*
* @author Jeen Broekstra
*/
public class LocalRepositoryManagerIntegrationTest extends RepositoryManagerIntegrationTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ protected Repository createRepository(String id) throws RepositoryConfigExceptio
};
}

}
}
Loading

0 comments on commit ea5c0fe

Please sign in to comment.