Skip to content

Commit

Permalink
Warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkioraskari committed Oct 14, 2020
1 parent c38635b commit e465380
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion converter/src/license/THIRD-PARTY.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
# Please fill the missing licenses for dependencies :
#
#
#Wed Oct 14 17:49:30 CEST 2020
#Wed Oct 14 18:27:40 CEST 2020
gnu.getopt--java-getopt--1.0.13=
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ public CreateOntology() {
IFCtoLBDConverter c1nb = new IFCtoLBDConverter("https://dot.dc.rwth-aachen.de/IFCtoLBDset#", false, 3);

// final Set<Property> properties = new HashSet<>();
@SuppressWarnings("unused")
Model m1nb = c1nb.convert(ifc_file.getAbsolutePath());

final Map<String, RDFNode> mapBSDD = new HashMap<>();
final Map<String, String> mapBSDD_description = new HashMap<>();

@SuppressWarnings("unused")
Collection<PropertySet> propertysets = c1nb.getPropertysets().values();
Model converter_ontology = c1nb.getOntology_model();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.List;

import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.bimserver.plugins.deserializers.DeserializeException;
import org.bimserver.plugins.renderengine.RenderEngineException;
import org.linkedbuildingdata.ifc2lbd.application_messaging.events.IFCtoLBD_SystemStatusEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import org.apache.jena.rdf.model.RDFNode;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.rdf.model.StmtIterator;
import org.apache.jena.vocabulary.OWL;
import org.apache.jena.vocabulary.RDF;
import org.apache.jena.vocabulary.RDFS;
import org.linkedbuildingdata.ifc2lbd.core.utils.StringOperations;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@

import java.io.File;
import java.net.URL;
import java.util.HashSet;
import java.util.Set;

import org.apache.jena.graph.Graph;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.rdf.model.ResourceFactory;
import org.apache.jena.riot.Lang;
Expand Down Expand Up @@ -254,7 +251,7 @@ public void testRTree() {

Iterable<Entry<Resource, Geometry>> results = rtree.search(rectangle2);
boolean correct=false;
for (Entry<Resource, Geometry> e : results) {
for (@SuppressWarnings("unused") Entry<Resource, Geometry> e : results) {
correct=true;
}
if(!correct)
Expand Down
2 changes: 1 addition & 1 deletion desktop_java15/src/license/THIRD-PARTY.properties
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
# Please fill the missing licenses for dependencies :
#
#
#Wed Oct 14 17:54:01 CEST 2020
#Wed Oct 14 18:28:41 CEST 2020
gnu.getopt--java-getopt--1.0.13=

0 comments on commit e465380

Please sign in to comment.