Skip to content

Commit 95eb2e6

Browse files
authored
Merge pull request #1158 from Lehonti/develop
Private, non-virtual methods which don't access any instance members were made `static`
2 parents 41ea15b + 830692f commit 95eb2e6

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.build/Build.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
using System;
2-
using System.IO;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Xml.Linq;
61
using GlobExpressions;
72
using Nuke.Common;
83
using Nuke.Common.IO;
94
using Nuke.Common.ProjectModel;
105
using Nuke.Common.Tooling;
116
using Nuke.Common.Tools.DotNet;
127
using Nuke.Common.Tools.GitVersion;
13-
using static Nuke.Common.IO.CompressionTasks;
8+
using System;
9+
using System.IO;
10+
using System.Linq;
11+
using System.Text;
1412
using static Nuke.Common.Tools.DotNet.DotNetTasks;
15-
using static Nuke.Common.IO.FileSystemTasks;
1613

1714
class Build : NukeBuild
1815
{

Fluent.Ribbon/Controls/InRibbonGallery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class InRibbonGallery : Selector, IScalableRibbonControl, IDropDownContro
5050
private ToggleButton? dropDownButton;
5151

5252
// Freezed image (created during snapping)
53-
private Image snappedImage = new();
53+
private readonly Image snappedImage = new();
5454

5555
// Is visual currently snapped
5656
private bool isSnapped;

0 commit comments

Comments
 (0)