Skip to content

Commit

Permalink
Remove redundant class bodies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihlus committed Mar 31, 2024
1 parent f331160 commit 8a8171a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 33 deletions.
4 changes: 1 addition & 3 deletions Remora.Commands/Attributes/GreedyAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ namespace Remora.Commands.Attributes;
/// </summary>
[PublicAPI]
[AttributeUsage(AttributeTargets.Parameter)]
public class GreedyAttribute : Attribute
{
}
public class GreedyAttribute : Attribute;
4 changes: 1 addition & 3 deletions Remora.Commands/Conditions/Attributes/ConditionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,4 @@ namespace Remora.Commands.Conditions;
/// Acts as a base class for conditional data attributes.
/// </summary>
[PublicAPI]
public abstract class ConditionAttribute : Attribute
{
}
public abstract class ConditionAttribute : Attribute;
4 changes: 1 addition & 3 deletions Remora.Commands/Conditions/ICondition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,4 @@ public interface ICondition<in TAttribute> : ICondition
/// Marker interface for conditions.
/// </summary>
[PublicAPI]
public interface ICondition
{
}
public interface ICondition;
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ public static partial class CommandServiceTests
/// <summary>
/// Tests functionality of preparsed operations.
/// </summary>
public static partial class Preparsed
{
}
public static partial class Preparsed;
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ public static partial class CommandServiceTests
/// <summary>
/// Tests functionality of preparsed operations, where the command path is also preparsed.
/// </summary>
public static partial class PreparsedWithPath
{
}
public static partial class PreparsedWithPath;
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ public static partial class CommandServiceTests
/// <summary>
/// Tests functionality of raw parsing-based operations.
/// </summary>
public static partial class Raw
{
}
public static partial class Raw;
}
4 changes: 1 addition & 3 deletions Tests/Remora.Commands.Tests/Services/CommandServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ namespace Remora.Commands.Tests.Services;
/// <summary>
/// Tests the <see cref="CommandService"/> class.
/// </summary>
public static partial class CommandServiceTests
{
}
public static partial class CommandServiceTests;
4 changes: 1 addition & 3 deletions Tests/Remora.Commands.Tests/Trees/CommandTreeBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ namespace Remora.Commands.Tests.Trees;
/// <summary>
/// Tests the <see cref="CommandTreeBuilder"/> class.
/// </summary>
public static partial class CommandTreeBuilderTests
{
}
public static partial class CommandTreeBuilderTests;
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ public static partial class CommandTreeTests
/// <summary>
/// Tests functionality of preparsed operations.
/// </summary>
public static partial class Preparsed
{
}
public static partial class Preparsed;
}
4 changes: 1 addition & 3 deletions Tests/Remora.Commands.Tests/Trees/CommandTreeTests.Raw.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ public static partial class CommandTreeTests
/// <summary>
/// Tests functionality of raw parsing-based operations.
/// </summary>
public static partial class Raw
{
}
public static partial class Raw;
}
4 changes: 1 addition & 3 deletions Tests/Remora.Commands.Tests/Trees/CommandTreeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ namespace Remora.Commands.Tests.Trees;
/// <summary>
/// Tests the <see cref="CommandTree"/> class.
/// </summary>
public static partial class CommandTreeTests
{
}
public static partial class CommandTreeTests;

0 comments on commit 8a8171a

Please sign in to comment.