Skip to content

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens-W committed Nov 28, 2024
1 parent 1c2cbce commit 17af876
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions rewrite-csharp/src/main/java/org/openrewrite/csharp/tree/Cs.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import org.openrewrite.csharp.CSharpPrinter;
import org.openrewrite.csharp.CSharpVisitor;
import org.openrewrite.csharp.service.CSharpNamingService;
import org.openrewrite.internal.NamingService;
import org.openrewrite.internal.ListUtils;
import org.openrewrite.internal.NamingService;
import org.openrewrite.java.JavaPrinter;
import org.openrewrite.java.JavaTypeVisitor;
import org.openrewrite.java.internal.TypesInUse;
Expand Down Expand Up @@ -2099,8 +2099,7 @@ final class Keyword implements Cs {
return v.visitKeyword(this, p);
}

public enum KeywordKind
{
public enum KeywordKind {
Ref,
Out,
Await,
Expand Down Expand Up @@ -2862,6 +2861,7 @@ public CoordinateBuilder.Expression getCoordinates() {
}

//region VariableDesignation

/**
* Interface for variable designators in declaration expressions.
* This can be either a single variable name or a parenthesized list of designators for deconstruction.
Expand Down Expand Up @@ -2935,7 +2935,7 @@ public CoordinateBuilder.Expression getCoordinates() {

/**
* Represents a parenthesized list of variable declarations used in deconstruction patterns.
*
* <p>
* Example of simple deconstruction:
* <pre>
* int (x, y) = point;
Expand Down Expand Up @@ -3426,7 +3426,7 @@ public Cs.Unary withOperator(JLeftPadded<Type> operator) {
* or in the base class (base).
* <p>
* Examples:
* <pre>
* <pre>
* class Person {
* // Constructor with 'this' initializer
* public Person(string name) : this(name, 0) { }
Expand Down Expand Up @@ -3712,6 +3712,7 @@ public CoordinateBuilder.Statement getCoordinates() {
}

}

/**
* Represents an initializer expression that consists of a list of expressions, typically used in array
* or collection initialization contexts. The expressions are contained within delimiters like curly braces.
Expand Down Expand Up @@ -4168,6 +4169,7 @@ public IsPattern withPattern(JLeftPadded<Pattern> pattern) {
}

//region Patterns

/**
* Base interface for all C# pattern types that can appear on the right-hand side of an 'is' expression.
* This includes type patterns, constant patterns, declaration patterns, property patterns, etc.
Expand Down Expand Up @@ -4720,6 +4722,7 @@ public ListPattern withPatterns(JContainer<Pattern> patterns) {

}
}

/**
* Represents a C# parenthesized pattern expression that groups a nested pattern.
* <p>
Expand Down Expand Up @@ -5286,7 +5289,6 @@ public CoordinateBuilder.Expression getCoordinates() {
}



/**
* Represents a property pattern clause in C# pattern matching, which matches against object properties.
* <p>
Expand Down Expand Up @@ -5874,8 +5876,7 @@ public SwitchSection withStatements(List<JRightPadded<Statement>> statements) {
}
}

public interface SwitchLabel extends Expression
{
public interface SwitchLabel extends Expression {

}

Expand Down Expand Up @@ -6383,7 +6384,6 @@ final class FixedStatement implements Cs, Statement {
J.Block block;



@Override
public <P> J acceptCSharp(CSharpVisitor<P> v, P p) {
return v.visitFixedStatement(this, p);
Expand Down

0 comments on commit 17af876

Please sign in to comment.