Skip to content

Commit

Permalink
removed dead code found by monster--hasDataItem
Browse files Browse the repository at this point in the history
  • Loading branch information
laforge49 committed Mar 9, 2013
1 parent 7b09ce6 commit 0cf0d4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
8 changes: 0 additions & 8 deletions src/main/java/org/agilewiki/jactor/Actor.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ public void acceptEvent(APCRequestSource requestSource,
*/
public void setInitialBufferCapacity(int initialBufferCapacity);

/**
* Returns true when the concurrent data of the actor, or its parent, contains the named data item.
*
* @param name The key for the data item.
* @return True when the concurrent data of the actor, or its parent, contains the named data item.
*/
public boolean hasDataItem(String name);

/**
* Returns the actor's mailbox.
*
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/org/agilewiki/jactor/lpc/JLPCActor.java
Original file line number Diff line number Diff line change
Expand Up @@ -434,19 +434,6 @@ final public void send(Actor actor, Request request, RP rp)
final public MailboxFactory getMailboxFactory() {
return mailbox.getMailboxFactory();
}

/**
* Returns true when the concurrent data of the actor, or its parent, contains the named data item.
*
* @param name The key for the data item.
* @return True when the concurrent data of the actor, or its parent, contains the named data item.
*/
@Override
final public boolean hasDataItem(String name) {
if (parent == null)
return false;
return parent.hasDataItem(name);
}
}

final class SyncRequest extends JARequest {
Expand Down

0 comments on commit 0cf0d4b

Please sign in to comment.