Removed the pointless InvocationCodes.SUCCESS, moved it to ChatCodes,

which was the only child class that used it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4328 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-08-16 18:38:39 +00:00
parent 1518c12cdf
commit 1ae508f3aa
4 changed files with 7 additions and 15 deletions
@@ -33,6 +33,10 @@ import com.threerings.crowd.chat.client.SpeakService;
*/
public interface ChatCodes extends InvocationCodes
{
/** A return value used by the ChatDirector and possibly other entities
* to indicate successful processing of chat. */
public static final String SUCCESS = "success";
/** The message identifier for a chat notification message. */
public static final String CHAT_NOTIFICATION = "chat";
@@ -30,12 +30,6 @@ package com.threerings.presents.data;
*/
public interface InvocationCodes
{
/**
* Generally used in responses that can either have the value success,
* or a string code explaining the reason for failure.
*/
public static final String SUCCESS = "success";
/** An error code returned to clients when a service cannot be
* performed because of some internal server error that we couldn't
* explain in any meaningful way (things like null pointer