Skip to content

Commit

Permalink
Adding documentation for async-log
Browse files Browse the repository at this point in the history
Autocommit Wed Jan 14 15:04:05 EST 2015
  • Loading branch information
mxro committed Jan 14, 2015
1 parent fb1190b commit 3152952
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
import de.mxro.async.properties.PropertyData;
import de.mxro.async.properties.operations.PropertyOperationWithId;

public class ClearOperation extends PropertyOperationWithId {
public class ClearOperation extends PropertyOperationWithId<Object> {

@Override
public void perform(final PropertyData data) {
public Object perform(final PropertyData data) {
final Object value = data.get(id);
data.remove(id);

return value;
}

}

0 comments on commit 3152952

Please sign in to comment.