rename ->LogEventAuthorImpl (instantiating a class named Abstract* feels wrong)

This commit is contained in:
Fredrik Teschke committed 2014-11-26 18:27:18 +01:00
1 parent 3f9802a8df
commit 101dba0d82
35 files changed
+91 -91

No files matched your search

@@ -12,7 +12,7 @@ import android.preference.PreferenceManager;
import android.provider.Settings.Secure;
import com.sap.sailing.domain.abstractlog.AbstractLogEventAuthor;
import com.sap.sailing.domain.abstractlog.impl.AbstractLogEventAuthorImpl;
import com.sap.sailing.domain.abstractlog.impl.LogEventAuthorImpl;
import com.sap.sailing.domain.common.CourseDesignerMode;
import com.sap.sailing.domain.common.racelog.Flags;
import com.sap.sailing.domain.common.racelog.RacingProcedureType;
@@ -82,7 +82,7 @@ public class AppPreferences {
public AbstractLogEventAuthor getAuthor() {
String authorName = preferences.getString(HIDDEN_PREFERENCE_AUTHOR_NAME, "<anonymous>");
int authorPriority = preferences.getInt(HIDDEN_PREFERENCE_AUTHOR_PRIORITY, 0);
return new AbstractLogEventAuthorImpl(authorName, authorPriority);
return new LogEventAuthorImpl(authorName, authorPriority);
}
public BoatClassType getBoatClass() {
@@ -7,7 +7,7 @@ import android.os.Bundle;
import com.sap.sailing.android.shared.logging.ExLog;
import com.sap.sailing.domain.abstractlog.AbstractLogEventAuthor;
import com.sap.sailing.domain.abstractlog.impl.AbstractLogEventAuthorImpl;
import com.sap.sailing.domain.abstractlog.impl.LogEventAuthorImpl;
import com.sap.sailing.racecommittee.app.R;
import com.sap.sailing.racecommittee.app.logging.LogEvent;
@@ -62,19 +62,19 @@ public class LoginDialog extends ActivityAttachedDialogFragment {
// see loginTypeDescriptions for the indices of the login types
case 0:
selectedLoginType = LoginType.OFFICER;
author = new AbstractLogEventAuthorImpl("Race Officer on Start Vessel", 0);
author = new LogEventAuthorImpl("Race Officer on Start Vessel", 0);
break;
case 1:
selectedLoginType = LoginType.OFFICER;
author = new AbstractLogEventAuthorImpl("Race Officer on Finish Vessel", 1);
author = new LogEventAuthorImpl("Race Officer on Finish Vessel", 1);
break;
case 2:
selectedLoginType = LoginType.OFFICER;
author = new AbstractLogEventAuthorImpl("Shore Control", 2);
author = new LogEventAuthorImpl("Shore Control", 2);
break;
case 3:
selectedLoginType = LoginType.VIEWER;
author = new AbstractLogEventAuthorImpl("Viewer", 3);
author = new LogEventAuthorImpl("Viewer", 3);
break;
default:
selectedLoginType = LoginType.NONE;