Files
openide/java/java-tests/testData/refactoring/safeDelete/AccidentalPropertyRef.java
Tagir Valeev 2e1d43405b [java-refactoring] Safe-delete: do not try to delete non-members from non-project files
Fixes IDEA-353914 Baka information is displayed in "Safe Delete" window

GitOrigin-RevId: 1a453b21754a440090d022b5d832cd1c7928b09e
2024-05-27 12:15:47 +00:00

10 lines
368 B
Java

class AccidentalPropertyRef {
// mockjdk-21 contains a file java/time/chrono/hijrah-config-Hijrah-umalqura_islamic-umalqura.properties
// which contains a line like
// 1493=30 29 30 29 30 29 29 30 29 30 30 30
// this test ensures that we don't try to remove this line from the JDK
public static void <caret>main(String[] args) {
String s = "1493";
}
}