Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 64966b8

Browse files
committed
Remove some more useless strings
1 parent e08acc8 commit 64966b8

File tree

1 file changed

+0
-8
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+0
-8
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ class Window : BaseWindow
1212
private const string Title = "GitHub";
1313
private const string Menu_Window_GitHub = "Window/GitHub";
1414
private const string Menu_Window_GitHub_Command_Line = "Window/GitHub Command Line";
15-
private const string BadNotificationDelayError = "A delay of {0} is shorter than the default delay and thus would get pre-empted.";
1615

1716
[NonSerialized] private bool currentBranchAndRemoteHasUpdate;
1817
[NonSerialized] private bool currentTrackingStatusHasUpdate;
19-
2018
[NonSerialized] private double notificationClearTime = -1;
2119
[NonSerialized] private double timeSinceLastRotation = -1f;
2220
[NonSerialized] private Spinner spinner;
@@ -31,19 +29,15 @@ class Window : BaseWindow
3129
[SerializeField] private ChangesView changesView = new ChangesView();
3230
[SerializeField] private HistoryView historyView = new HistoryView();
3331
[SerializeField] private SettingsView settingsView = new SettingsView();
34-
3532
[SerializeField] private bool hasRemote;
3633
[SerializeField] private string currentRemoteName;
3734
[SerializeField] private string currentBranch;
3835
[SerializeField] private string currentRemoteUrl;
39-
4036
[SerializeField] private int statusAhead;
4137
[SerializeField] private int statusBehind;
4238
[SerializeField] private bool hasItemsToCommit;
43-
4439
[SerializeField] private GUIContent currentBranchContent;
4540
[SerializeField] private GUIContent currentRemoteUrlContent;
46-
4741
[SerializeField] private CacheUpdateEvent lastCurrentBranchAndRemoteChangedEvent;
4842
[SerializeField] private CacheUpdateEvent lastTrackingStatusChangedEvent;
4943

@@ -677,8 +671,6 @@ private void SignOut(object obj)
677671

678672
public void ShowNotification(GUIContent content, float timeout)
679673
{
680-
Debug.Assert(timeout <= DefaultNotificationTimeout, String.Format(BadNotificationDelayError, timeout));
681-
682674
notificationClearTime = timeout < DefaultNotificationTimeout ? EditorApplication.timeSinceStartup + timeout : -1f;
683675
base.ShowNotification(content);
684676
}

0 commit comments

Comments
 (0)