mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
Fixes IDEA-354492 "Method can be extracted" includes comments as minimum code length GitOrigin-RevId: 3d4e34e6726f7917fe3b0224653b89f07cd2ae42
18 lines
553 B
Java
18 lines
553 B
Java
import java.util.*;
|
|
|
|
public class ExtractMethodRecommenderComment {
|
|
void testLongCommentBefore() {
|
|
// We are creating a new Date object here and set it's to 12 hours
|
|
// We are creating a new Date object here and set it's to 12 hours
|
|
// We are creating a new Date object here and set it's to 12 hours
|
|
Date d = new Date();
|
|
d.setHours(12);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
System.out.println(d);
|
|
}
|
|
} |