Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions back-end/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<repositories>
<repository>
<id>CronApp</id>
<url>https://artifactory.cronapp.io/public-release/</url>
</repository>
</repositories>
<groupId>MITDbG</groupId>
<artifactId>back-end</artifactId>
<version>1.0-SNAPSHOT</version>
Expand All @@ -20,8 +26,8 @@
<source>1.8</source>
<target>1.8</target>
</configuration>
<!-- https://stackoverflow.com/questions/4123044/maven-3-warnings-about-build-plugins-plugin-version -->
<version>3.2</version>
<!-- https://stackoverflow.com/questions/4123044/maven-3-warnings-about-build-plugins-plugin-version -->
<version>3.2</version>
</plugin>
</plugins>
</build>
Expand All @@ -35,6 +41,13 @@
<scope>compile</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson-extras -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson-extras</artifactId>
<version>2.8.5</version>
</dependency>

<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
Expand Down
4 changes: 3 additions & 1 deletion back-end/src/main/java/index/AutoDDInMemoryIndexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import com.github.davidmoten.rtree.RTree;
import com.github.davidmoten.rtree.geometry.Geometries;
import com.github.davidmoten.rtree.geometry.Rectangle;
import java.sql.*;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import main.Config;
import main.DbConnector;
Expand Down
1 change: 0 additions & 1 deletion back-end/src/main/java/index/Indexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public static Indexer getIndexerByType(String type) throws Exception {
if (type.isEmpty()) return null;
Class c = Class.forName("index." + type);
Method m = c.getMethod("getInstance");
System.out.println("Indexer type: " + c.getSimpleName());
return (Indexer) m.invoke(null);
}

Expand Down
Loading