Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1using NzbDrone.Common.Extensions;
2using NzbDrone.Core.Download;
3using NzbDrone.Core.Parser.Model;
4
5namespace NzbDrone.Core.MediaFiles.MovieImport.Aggregation.Aggregators
6{
7 public class AggregateReleaseGroup : IAggregateLocalMovie
8 {
9 public LocalMovie Aggregate(LocalMovie localMovie, DownloadClientItem downloadClientItem)
10 {
11 var releaseGroup = localMovie.DownloadClientMovieInfo?.ReleaseGroup;
12
13 if (releaseGroup.IsNullOrWhiteSpace())
14 {
15 releaseGroup = localMovie.FolderMovieInfo?.ReleaseGroup;
…lines 16–29 unchanged (14 lines)

After

1using NzbDrone.Common.Extensions;
2using NzbDrone.Core.Download;
3using NzbDrone.Core.Parser.Model;
4
5namespace NzbDrone.Core.MediaFiles.MovieImport.Aggregation.Aggregators
6{
7 public class AggregateReleaseGroup : IAggregateLocalMovie
8 {
9 public int Order => 1;
10
11 public LocalMovie Aggregate(LocalMovie localMovie, DownloadClientItem downloadClientItem)
12 {
13 var releaseGroup = localMovie.DownloadClientMovieInfo?.ReleaseGroup;
14
15 if (releaseGroup.IsNullOrWhiteSpace())
…lines 16–31 unchanged (16 lines)

Before

compilation_unit
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Common"
. "."
identifier "Extensions"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Download"
; ";"
using_directive
using "using"
qualified_name
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Parser"
. "."
identifier "Model"
; ";"
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
qualified_name
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "MediaFiles"
. "."
identifier "MovieImport"
. "."
identifier "Aggregation"
. "."
identifier "Aggregators"
declaration_list
{ "{"
class_declaration
modifier
public "public"
class "class"
identifier "AggregateReleaseGroup"
base_list
: ":"
identifier "IAggregateLocalMovie"
declaration_list
{ "{"
method_declaration (+106 nodes collapsed)
} "}"
} "}"

After

compilation_unit
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Common"
. "."
identifier "Extensions"
; ";"
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Download"
; ";"
using_directive
using "using"
qualified_name
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Parser"
. "."
identifier "Model"
; ";"
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
qualified_name
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "MediaFiles"
. "."
identifier "MovieImport"
. "."
identifier "Aggregation"
. "."
identifier "Aggregators"
declaration_list
{ "{"
class_declaration
modifier
public "public"
class "class"
identifier "AggregateReleaseGroup"
base_list
: ":"
identifier "IAggregateLocalMovie"
declaration_list
{ "{"
property_declaration
modifier
public "public"
predefined_type "int"
identifier "Order"
arrow_expression_clause
=> "=>"
integer_literal "1"
; ";"
method_declaration (+106 nodes collapsed)
} "}"
} "}"