} else if ( event.kind().equals( StandardWatchEventKind.ENTRY_RENAME ) ) {
_affectedPath = convert( context.getOldPath() );
result = new ResourceRenamed( convert( context.getPath() ), context.getMessage() );
} else if ( event.kind().equals( StandardWatchEventKind.ENTRY_DELETE ) ) {
_affectedPath = convert( context.getOldPath() );
result = new ResourceDeleted();
} else {
_affectedPath = null;
result = null;
}
if ( _affectedPath == null ) {