From 3fb4bd09692b476c95a31e9fc6b0d4ded5cc6068 Mon Sep 17 00:00:00 2001 From: Martin Ledvinka Date: Sat, 10 Apr 2021 14:29:47 +0200 Subject: [PATCH] Update the year in the license header to 2021. --- header.txt | 2 +- .../JsonLdSerializationTest.java | 22 +++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/header.txt b/header.txt index 06111e0..9e9bb8a 100644 --- a/header.txt +++ b/header.txt @@ -1,4 +1,4 @@ -Copyright (C) 2020 Czech Technical University in Prague +Copyright (C) 2021 Czech Technical University in Prague This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software diff --git a/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java b/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java index 68d2d94..f91aaa3 100644 --- a/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java +++ b/src/test/java/cz/cvut/kbss/jsonld/jackson/serialization/JsonLdSerializationTest.java @@ -1,16 +1,14 @@ /** * Copyright (C) 2020 Czech Technical University in Prague - * - * This program is free software: you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any - * later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. You should have received a copy of the GNU General Public License - * along with this program. If not, see . + *

+ * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later + * version. + *

+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. You should have received a copy of the GNU General Public License along with this program. If not, see + * . */ package cz.cvut.kbss.jsonld.jackson.serialization; @@ -125,7 +123,7 @@ private boolean contains(URI subject, String property, Object value) { rdfVal = vf.createLiteral(value.toString()); } return connection.getStatements(vf.createIRI(subject.toString()), vf.createIRI(property), rdfVal, false) - .hasNext(); + .hasNext(); } private void verifyUserAttributes(User user) {