From: Roland Haeder Date: Wed, 9 Sep 2015 08:35:51 +0000 (+0200) Subject: Removed all no longer thrown exceptions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc3883272760598dc2514c683932c4b57113ef3a;p=jcore.git Removed all no longer thrown exceptions Signed-off-by:Roland Häder --- 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); }