private Command visitPropertyCommand( ReadableChannel channel ) throws IOException { // ID long id = channel.getLong(); // 8 // BEFORE PropertyRecord before = readPropertyRecord( id, channel ); if ( before == null ) { return null; } // AFTER PropertyRecord after = readPropertyRecord( id, channel ); if ( after == null ) { return null; } return new Command.PropertyCommand( before, after ); }
private Command visitPropertyCommand( ReadableChannel channel ) throws IOException { // ID long id = channel.getLong(); // 8 // BEFORE PropertyRecord before = readPropertyRecord( id, channel ); if ( before == null ) { return null; } // AFTER PropertyRecord after = readPropertyRecord( id, channel ); if ( after == null ) { return null; } return new Command.PropertyCommand( before, after ); }