github-code-scanning[bot] commented on code in PR #709:
URL:
https://github.com/apache/incubator-baremaps/pull/709#discussion_r1236718900
##########
baremaps-core/src/test/java/org/apache/baremaps/storage/flatgeobuf/FlatGeoBufDataTableTest.java:
##########
@@ -19,19 +19,19 @@
import org.apache.baremaps.testing.TestFiles;
import org.junit.jupiter.api.Test;
-class FlatGeoBufTableTest {
+class FlatGeoBufDataTableTest {
Review Comment:
## Unused classes and interfaces
Unused class: FlatGeoBufDataTableTest is not referenced within this
codebase. If not used as an external API it should be removed.
[Show more
details](https://github.com/apache/incubator-baremaps/security/code-scanning/688)
##########
baremaps-core/src/main/java/org/apache/baremaps/collection/store/DataSchemaImpl.java:
##########
@@ -0,0 +1,73 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express
+ * or implied. See the License for the specific language governing permissions
and limitations under
+ * the License.
+ */
+
+package org.apache.baremaps.collection.store;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * A schema defines the structure of a table.
+ */
+public class DataSchemaImpl implements DataSchema {
+
+ private final String name;
+
+ private final List<DataColumn> dataColumns;
+
+ private final Map<String, Integer> index;
Review Comment:
## Container contents are never accessed
The contents of this container are never accessed.
[Show more
details](https://github.com/apache/incubator-baremaps/security/code-scanning/686)
##########
baremaps-core/src/test/java/org/apache/baremaps/tilestore/postgres/PostgresTileDataStoreTest.java:
##########
@@ -19,7 +19,7 @@
import org.apache.baremaps.tilestore.TileCoord;
import org.junit.jupiter.api.Test;
-class PostgresTileStoreTest {
+class PostgresTileDataStoreTest {
Review Comment:
## Unused classes and interfaces
Unused class: PostgresTileDataStoreTest is not referenced within this
codebase. If not used as an external API it should be removed.
[Show more
details](https://github.com/apache/incubator-baremaps/security/code-scanning/690)
##########
baremaps-core/src/test/java/org/apache/baremaps/storage/geopackage/GeoPackageDataStoreTest.java:
##########
@@ -17,11 +17,11 @@
import org.apache.baremaps.testing.TestFiles;
import org.junit.jupiter.api.Test;
-class GeoPackageStoreTest {
+class GeoPackageDataStoreTest {
Review Comment:
## Unused classes and interfaces
Unused class: GeoPackageDataStoreTest is not referenced within this
codebase. If not used as an external API it should be removed.
[Show more
details](https://github.com/apache/incubator-baremaps/security/code-scanning/689)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]