Skip to content

Commit

Permalink
Using duplicate words in a comments (#24751)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergerGood authored Apr 24, 2021
1 parent 14f784c commit 37d5f8a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public static async Task<int> ExecuteSqlRawAsync(
/// </para>
/// <para>
/// This connection should not be disposed if it was created by Entity Framework. Connections are created by
/// Entity Framework when a connection string rather than a DbConnection object is passed to the the 'UseMyProvider'
/// Entity Framework when a connection string rather than a DbConnection object is passed to the 'UseMyProvider'
/// method for the database provider in use. Conversely, the application is responsible for disposing a DbConnection
/// passed to Entity Framework in 'UseMyProvider'.
/// </para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ public static bool CanSetComment(
fromDataAnnotation);

/// <summary>
/// Configures the property to use the given collation. The database column will be be created with the given
/// Configures the property to use the given collation. The database column will be created with the given
/// collation, and it will be used implicitly in all collation-sensitive operations.
/// </summary>
/// <param name="propertyBuilder"> The builder for the property being configured. </param>
Expand All @@ -768,7 +768,7 @@ public static PropertyBuilder UseCollation(this PropertyBuilder propertyBuilder,
}

/// <summary>
/// Configures the property to use the given collation. The database column will be be created with the given
/// Configures the property to use the given collation. The database column will be created with the given
/// collation, and it will be used implicitly in all collation-sensitive operations.
/// </summary>
/// <param name="propertyBuilder"> The builder for the property being configured. </param>
Expand All @@ -780,7 +780,7 @@ public static PropertyBuilder<TProperty> UseCollation<TProperty>(
=> (PropertyBuilder<TProperty>)UseCollation((PropertyBuilder)propertyBuilder, collation);

/// <summary>
/// Configures the property to use the given collation. The database column will be be created with the given
/// Configures the property to use the given collation. The database column will be created with the given
/// collation, and it will be used implicitly in all collation-sensitive operations.
/// </summary>
/// <param name="propertyBuilder"> The builder for the property being configured. </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static string GetColumnName(this IProperty property)
/// Returns the base name of the column to which the property would be mapped.
/// </summary>
/// <param name="property"> The property. </param>
/// <returns> The the base name of the column to which the property would be mapped. </returns>
/// <returns> The base name of the column to which the property would be mapped. </returns>
public static string GetColumnBaseName(this IReadOnlyProperty property)
=> (string?)property.FindAnnotation(RelationalAnnotationNames.ColumnName)?.Value ?? property.GetDefaultColumnBaseName();

Expand Down
4 changes: 2 additions & 2 deletions src/EFCore.Relational/Storage/ISqlGenerationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ public interface ISqlGenerationHelper
string GenerateCreateSavepointStatement(string name);

/// <summary>
/// Generates an SQL statement which which rolls back to a savepoint with the given name.
/// Generates an SQL statement which rolls back to a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be rolled back to. </param>
/// <returns> An SQL string to roll back the savepoint. </returns>
string GenerateRollbackToSavepointStatement(string name);

/// <summary>
/// Generates an SQL statement which which releases a savepoint with the given name.
/// Generates an SQL statement which releases a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be released. </param>
/// <returns> An SQL string to release the savepoint. </returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,15 @@ public virtual string GenerateCreateSavepointStatement(string name)
=> "SAVEPOINT " + DelimitIdentifier(name) + StatementTerminator;

/// <summary>
/// Generates an SQL statement which which rolls back to a savepoint with the given name.
/// Generates an SQL statement which rolls back to a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be rolled back to. </param>
/// <returns> An SQL string to roll back the savepoint. </returns>
public virtual string GenerateRollbackToSavepointStatement(string name)
=> "ROLLBACK TO " + DelimitIdentifier(name) + StatementTerminator;

/// <summary>
/// Generates an SQL statement which which releases a savepoint with the given name.
/// Generates an SQL statement which releases a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be released. </param>
/// <returns> An SQL string to release the savepoint. </returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ public override string GenerateCreateSavepointStatement(string name)
=> "SAVE TRANSACTION " + DelimitIdentifier(name) + StatementTerminator;

/// <summary>
/// Generates an SQL statement which which rolls back to a savepoint with the given name.
/// Generates an SQL statement which rolls back to a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be rolled back to. </param>
/// <returns> An SQL string to roll back the savepoint. </returns>
public override string GenerateRollbackToSavepointStatement(string name)
=> "ROLLBACK TRANSACTION " + DelimitIdentifier(name) + StatementTerminator;

/// <summary>
/// Generates an SQL statement which which releases a savepoint with the given name.
/// Generates an SQL statement which releases a savepoint with the given name.
/// </summary>
/// <param name="name"> The name of the savepoint to be released. </param>
/// <returns> An SQL string to release the savepoint. </returns>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/EntityEntryGraphNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public EntityEntryGraphNode(

/// <summary>
/// <para>
/// An <see cref="EntityEntry" /> for the entity instance from which a navigation property was traversed to the the instance
/// An <see cref="EntityEntry" /> for the entity instance from which a navigation property was traversed to the instance
/// represented by this node.
/// </para>
/// <para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ private static Expression AccessInnerTransparentField(
/// <summary>
/// Creates a <see cref="ShapedQueryExpression" /> for the given entity type.
/// </summary>
/// <param name="entityType"> The the entity type. </param>
/// <param name="entityType"> The entity type. </param>
/// <returns> A shaped query expression for the given entity type. </returns>
protected abstract ShapedQueryExpression CreateShapedQueryExpression(IEntityType entityType);

Expand Down

0 comments on commit 37d5f8a

Please sign in to comment.