Skip to content

Commit

Permalink
Formatted test file
Browse files Browse the repository at this point in the history
  • Loading branch information
anusreelakshmi934 committed Feb 9, 2024
1 parent 92e5ab4 commit 402a533
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,14 @@ public void managedBeanAnnotations() throws Exception {
DiagnosticSeverity.Error, "jakarta-cdi", "InvalidManagedBeanAnnotation");

assertJavaDiagnostics(diagnosticsParams, utils, d1, d2);
String newText1 = "package io.openliberty.sample.jakarta.cdi;\n\nimport jakarta.enterprise.context.*;\n" +
String newText1 = "package io.openliberty.sample.jakarta.cdi;\n\n" +
"import jakarta.enterprise.context.*;\n" +
"import jakarta.enterprise.context.Dependent;\n\n" +
"@RequestScoped\npublic class ManagedBean<T> {\n @Dependent\n public int a;\n\n\n " +
"@RequestScoped\npublic class ManagedBean<T> {\n " +
"@Dependent\n public int a;\n\n\n " +
"public ManagedBean() {\n this.a = 10;\n }\n}\n";
String newText2 = "package io.openliberty.sample.jakarta.cdi;\n\nimport jakarta.enterprise.context.*;\n" +
String newText2 = "package io.openliberty.sample.jakarta.cdi;\n\n" +
"import jakarta.enterprise.context.*;\n" +
"import jakarta.enterprise.context.Dependent;\n\n" +
"@Dependent\npublic class ManagedBean<T> {\n public int a;\n\n\n " +
"public ManagedBean() {\n this.a = 10;\n }\n}\n";
Expand Down

0 comments on commit 402a533

Please sign in to comment.