Removed useless imports and properties

This commit is contained in:
2023-07-09 15:08:33 +02:00
parent ed0ef018a5
commit 52e1a72330
9 changed files with 0 additions and 18 deletions
@@ -1,8 +1,6 @@
package de.twomartens.wahlrecht.mapper.v1;
import de.twomartens.wahlrecht.model.internal.SeatResult;
import java.util.Deque;
import java.util.LinkedList;
import org.mapstruct.CollectionMappingStrategy;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
@@ -42,8 +42,4 @@ public class Nomination {
String electionName;
Collection<Candidate> candidates;
boolean supportVotesOnNomination;
public boolean supportsVotesOnNomination() {
return supportVotesOnNomination;
}
}
@@ -16,7 +16,6 @@ import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.mongodb.core.index.CompoundIndex;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
@@ -3,8 +3,6 @@ package de.twomartens.wahlrecht.model.dto.v1;
import java.util.Collection;
import java.util.LinkedList;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import lombok.Builder;
@Builder
@@ -1,9 +1,6 @@
package de.twomartens.wahlrecht.model.dto.v1;
import java.util.Map;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
public record PartyInElection(String electionName, String abbreviation, String name,
Nomination overallNomination,
@@ -2,8 +2,6 @@ package de.twomartens.wahlrecht.model.dto.v1;
import java.util.LinkedList;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import lombok.Builder;
@Builder
@@ -1,8 +1,6 @@
package de.twomartens.wahlrecht.model.dto.v1;
import java.util.Map;
import lombok.Builder;
import lombok.Getter;
public record VotingResult(int votesOnNomination, int votesThroughHealing, Integer totalVotes,
Map<Integer, Integer> votesPerPosition, String nominationName) {
@@ -1,4 +1,3 @@
#TODO zufaellige Ports eintragen
server.port: 12000
grpc.server.port: 12002
management.server.port: 12001
@@ -1,7 +1,6 @@
server:
port: 8080
shutdown: graceful
grpc.server.port: 9090
### technical configurations ###
management: