Skip to content

Commit ad8850c

Browse files
committed
removed debug statement
1 parent 7ad38cd commit ad8850c

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-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/InnerOuterRecordTest.java

Lines changed: 0 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;
@@ -757,7 +755,6 @@ public record F(int x, int y) implements Cloneable, Serializable {
757755
// show that outer record survives casual diff.
758756
public void test8RecordImplements2() throws Exception {
759757
sideBySideCompare = true;
760-
// showOutputOnPass=true;
761758
String source
762759
= """
763760
package t;
@@ -807,7 +804,6 @@ enum F {
807804

808805
// Test shows that inner enum does not have the too early brace problem.
809806
public void test8EnumImplements() throws Exception {
810-
// debug = true;
811807
sideBySideCompare = true;
812808
String source
813809
= """

0 commit comments

Comments
 (0)