Commit 57f16d1d authored by João Lino's avatar João Lino

fix reference package

parent 9f2e18b6
Pipeline #9 canceled with stages
package org.example.scoreboard.reference.api; package org.example.scoreboard.api;
import java.util.Date; import java.util.Date;
import java.util.UUID; import java.util.UUID;
......
package org.example.scoreboard.reference.api; package org.example.scoreboard.api;
public interface IScore { public interface IScore {
Integer getGoals(); Integer getGoals();
......
package org.example.scoreboard.reference.api; package org.example.scoreboard.api;
import java.security.InvalidParameterException; import java.security.InvalidParameterException;
import java.util.ArrayList; import java.util.ArrayList;
......
package org.example.scoreboard.reference.api; package org.example.scoreboard.api;
import java.util.UUID; import java.util.UUID;
......
package org.example.scoreboard.reference.generic; package org.example.scoreboard.generic;
import org.example.scoreboard.reference.api.IMatch; import org.example.scoreboard.api.IMatch;
import org.example.scoreboard.reference.api.IScore; import org.example.scoreboard.api.IScore;
import org.example.scoreboard.reference.api.ITeam; import org.example.scoreboard.api.ITeam;
import java.util.Date; import java.util.Date;
import java.util.UUID; import java.util.UUID;
......
package org.example.scoreboard.reference.generic; package org.example.scoreboard.generic;
import org.example.scoreboard.reference.api.IScore; import org.example.scoreboard.api.IScore;
public abstract class AbstractScore implements IScore { public abstract class AbstractScore implements IScore {
private final Integer goals; private final Integer goals;
......
package org.example.scoreboard.reference.generic; package org.example.scoreboard.generic;
import org.example.scoreboard.reference.api.IMatch; import org.example.scoreboard.api.IMatch;
import org.example.scoreboard.reference.api.IScore; import org.example.scoreboard.api.IScore;
import org.example.scoreboard.reference.api.IScoreboard; import org.example.scoreboard.api.IScoreboard;
import org.example.scoreboard.reference.api.ITeam; import org.example.scoreboard.api.ITeam;
import java.security.InvalidParameterException; import java.security.InvalidParameterException;
import java.util.ArrayList; import java.util.ArrayList;
......
package org.example.scoreboard.reference.generic; package org.example.scoreboard.generic;
import org.example.scoreboard.reference.api.ITeam; import org.example.scoreboard.api.ITeam;
import java.util.UUID; import java.util.UUID;
......
package org.example.scoreboard.reference.reference; package org.example.scoreboard.reference;
import org.example.scoreboard.reference.api.ITeam; import org.example.scoreboard.api.ITeam;
import org.example.scoreboard.reference.generic.AbstractMatch; import org.example.scoreboard.generic.AbstractMatch;
public class Match extends AbstractMatch { public class Match extends AbstractMatch {
public Match(ITeam homeTeam, ITeam awayTeam) { public Match(ITeam homeTeam, ITeam awayTeam) {
......
package org.example.scoreboard.reference.reference; package org.example.scoreboard.reference;
import org.example.scoreboard.reference.generic.AbstractScore; import org.example.scoreboard.generic.AbstractScore;
public class Score extends AbstractScore { public class Score extends AbstractScore {
public Score() { public Score() {
......
package org.example.scoreboard.reference.reference; package org.example.scoreboard.reference;
import org.example.scoreboard.reference.generic.AbstractScoreboard; import org.example.scoreboard.generic.AbstractScoreboard;
public class Scoreboard extends AbstractScoreboard { public class Scoreboard extends AbstractScoreboard {
public Scoreboard() { public Scoreboard() {
......
package org.example.scoreboard.reference.reference; package org.example.scoreboard.reference;
import org.example.scoreboard.reference.generic.AbstractTeam; import org.example.scoreboard.generic.AbstractTeam;
public class Team extends AbstractTeam { public class Team extends AbstractTeam {
public Team(String name) { public Team(String name) {
......
package org.example.scoreboard.reference; package org.example.scoreboard.reference;
import org.example.scoreboard.reference.api.IMatch; import org.example.scoreboard.api.IMatch;
import org.example.scoreboard.reference.api.IScore; import org.example.scoreboard.api.IScore;
import org.example.scoreboard.reference.reference.Match;
import org.example.scoreboard.reference.reference.Score;
import org.example.scoreboard.reference.reference.Scoreboard;
import org.example.scoreboard.reference.reference.Team;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment