Skip to content

Commit 6e7271c

Browse files
authored
Fix double-semicolons (#1385)
1 parent f7b68c5 commit 6e7271c

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

SIL.Archiving/IMDI/Schema/IMDI_3_0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ public ActorType(ArchivingActor actor) : this()
13481348

13491349
// Role
13501350
if (!string.IsNullOrEmpty(actor.Role))
1351-
Role = actor.Role.ToVocabularyType(false, Link(ActorRole)); ;
1351+
Role = actor.Role.ToVocabularyType(false, Link(ActorRole));
13521352

13531353
// Occupation
13541354
if (!string.IsNullOrEmpty(actor.Occupation))

SIL.Core/Reporting/AnalyticsEventSender.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private string UtmcCookieString
264264

265265
string utmcc = Uri.EscapeDataString(String.Format("__utma={0};+__utmz={1};", utma, utmz));
266266

267-
return (utmcc); ;
267+
return utmcc;
268268
}
269269
}
270270

SIL.Core/Reporting/ConsoleErrorReporter.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,8 @@ private void WriteStackToConsole(string message, StackTrace stack, Severity seve
168168

169169
textToReport += "Message (not an exception): " + message + Environment.NewLine;
170170
textToReport += Environment.NewLine;
171-
textToReport += "--Stack--" + Environment.NewLine; ;
172-
textToReport += stack.ToString() + Environment.NewLine; ;
173-
174-
171+
textToReport += "--Stack--" + Environment.NewLine;
172+
textToReport += stack.ToString() + Environment.NewLine;
175173
textToReport += ErrorReportingProperties;
176174

177175
try

SIL.DictionaryServices/Processors/EntryMerger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private void ChangeMultiText(PalasoDataObject target, PalasoDataObject source ,
7676
MultiText newText = source.GetOrCreateProperty<MultiText>(propertyName);
7777
var newGuy = new KeyValuePair<string, object>(propertyName, newText);
7878
//source.Properties.Remove(prop);//detach else it gets deleted
79-
target.Properties.Add(newGuy); ;
79+
target.Properties.Add(newGuy);
8080
}
8181
}
8282
*/

SIL.Windows.Forms.GeckoBrowserAdapter/ReflectiveGeckoBrowser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ internal GeckoElement GetElementById(string id)
461461
{
462462
if (_getElementByIdMethod == null)
463463
_getElementByIdMethod = _type.GetMethod("GetElementById", new Type[] { typeof(String) });
464-
return new GeckoBodyElement(_getElementByIdMethod.Invoke (_document, new object[] { id }));;
464+
return new GeckoBodyElement(_getElementByIdMethod.Invoke (_document, new object[] { id }));
465465
}
466466
}
467467

SIL.Windows.Forms/Widgets/BitmapButton.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ private void paint_Background(PaintEventArgs e)
417417
//
418418
// get color of background
419419
//
420-
System.Drawing.Color color = this.BackColor;;
420+
System.Drawing.Color color = this.BackColor;
421421
if(State == BtnState.Inactive)
422422
color = System.Drawing.Color.LightGray;
423423
//

0 commit comments

Comments
 (0)