From dc3883272760598dc2514c683932c4b57113ef3a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 9 Sep 2015 10:35:51 +0200 Subject: [PATCH] =?utf8?q?Removed=20all=20no=20longer=20thrown=20exception?= =?utf8?q?s=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jcore/application/BaseApplication.java | 17 ++++++++++++++--- .../jcore/model/contact/BaseContact.java | 2 +- .../mxchange/jcore/model/contact/Contact.java | 8 -------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/org/mxchange/jcore/application/BaseApplication.java b/src/org/mxchange/jcore/application/BaseApplication.java index 92f6f26..dbfae7e 100644 --- a/src/org/mxchange/jcore/application/BaseApplication.java +++ b/src/org/mxchange/jcore/application/BaseApplication.java @@ -1,7 +1,18 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * Copyright (C) 2015 Roland Haeder + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ package org.mxchange.jcore.application; diff --git a/src/org/mxchange/jcore/model/contact/BaseContact.java b/src/org/mxchange/jcore/model/contact/BaseContact.java index 999dcd6..5e761e1 100644 --- a/src/org/mxchange/jcore/model/contact/BaseContact.java +++ b/src/org/mxchange/jcore/model/contact/BaseContact.java @@ -498,8 +498,8 @@ public abstract class BaseContact implements Contact, Comparable { * Shows this contact to the user * * @param client Client instance to use + * TODO: Maybe needs to be moved to other class */ - @Override public void show (final Client client) { // The client must be set if (null == client) { diff --git a/src/org/mxchange/jcore/model/contact/Contact.java b/src/org/mxchange/jcore/model/contact/Contact.java index 0d290c2..56cc35b 100644 --- a/src/org/mxchange/jcore/model/contact/Contact.java +++ b/src/org/mxchange/jcore/model/contact/Contact.java @@ -17,7 +17,6 @@ package org.mxchange.jcore.model.contact; import java.io.Serializable; -import org.mxchange.jcore.client.Client; import org.mxchange.jcore.model.contact.gender.Gender; /** @@ -254,11 +253,4 @@ public interface Contact extends Serializable { * @return Own data? */ public boolean isOwnContact (); - - /** - * Shows the contact to the user - * - * @param client Client instance to call back - */ - public void show (final Client client); } -- 2.39.5