Skip to content

Commit b63bad3

Browse files
committed
cleanup after merge changes, no drive-by changes
1 parent 7ad38cd commit b63bad3

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

java/java.source.base/src/org/netbeans/modules/java/source/pretty/VeryPretty.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,6 @@ public void visitImport(JCImport tree) {
857857

858858
@Override
859859
public void visitClassDef(JCClassDecl tree) {
860-
System.err.println("VP visit clas/"+tree+"//class");
861860
JCClassDecl enclClassPrev = enclClass;
862861
enclClass = tree;
863862
toLeftMargin();

java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,9 +1274,9 @@ private ComponentsAndOtherMembers splitOutRecordComponents(List<JCTree> defs, JC
12741274
record ComponentsAndOtherMembers(List<? extends JCTree> components, List<JCTree> defs) {}
12751275

12761276
/**
1277-
* When the enumeration contains just methods, it is necessary to preced them with single ;. If a constant is
1277+
* When the enumeration contains just methods, it is necessary to preceed them with single ;. If a constant is
12781278
* inserted, it must be inserted first; and the semicolon should be removed. This method will attempt to remove entire
1279-
* lines of whitespace around the semicolon. Preceding or following comments are preserved.
1279+
* lines of white space around the semicolon. Preceding or following comments are preserved.
12801280
*
12811281
* @param insertHint the local Pointer value
12821282
* @return new localPointer value

java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/ExtractSuperclassTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public class ExtractSuperclassTest extends RefactoringTestBase {
4848

4949
public ExtractSuperclassTest(String name) {
5050
super(name);
51+
RETRIES=1;
52+
// show
5153
}
5254

5355
public void test235246() throws Exception {

java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/InnerOuterRecordTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public InnerOuterRecordTest(String name) {
6666
}
6767
sideBySideCompare = true;
6868
showOutputOnPass=true;
69-
7069
}
7170

7271
public void test9ApacheNetbeans7044() throws Exception {
@@ -645,7 +644,6 @@ record A(F f, String... params) {
645644
* @author junit
646645
*/
647646
record F<P>(P first, String... second) {
648-
649647
public F {
650648
assert null != first;
651649
assert null != second && second.length > 0;
@@ -708,6 +706,8 @@ record F<P>(P first, P... second) {
708706

709707
// show that brace comes too early in inner record.
710708
public void test8RecordImplements1() throws Exception {
709+
// debug = true;
710+
RETRIES = 0;
711711
sideBySideCompare = true;
712712
String source
713713
= """
@@ -757,7 +757,6 @@ public record F(int x, int y) implements Cloneable, Serializable {
757757
// show that outer record survives casual diff.
758758
public void test8RecordImplements2() throws Exception {
759759
sideBySideCompare = true;
760-
// showOutputOnPass=true;
761760
String source
762761
= """
763762
package t;
@@ -807,7 +806,6 @@ enum F {
807806

808807
// Test shows that inner enum does not have the too early brace problem.
809808
public void test8EnumImplements() throws Exception {
810-
// debug = true;
811809
sideBySideCompare = true;
812810
String source
813811
= """

java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/PullUpTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public class PullUpTest extends RefactoringTestBase {
5353

5454
public PullUpTest(String name) {
5555
super(name, "1.8");
56+
RETRIES=1;
5657
}
5758

5859
static {

0 commit comments

Comments
 (0)