prevent static field name clashes in local methods

This commit is contained in:
Alexandru-Constantin Bledea
2016-03-07 21:00:21 +02:00
parent 5795c1d9e0
commit 7cf7bec4b6
6 changed files with 108 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
package pkg;
/**
* @author Alexandru-Constantin Bledea
* @since March 07, 2016
*/
public class TestStaticNameClash {
public static String property;
public static void setProperty(final String property) {
TestStaticNameClash.property = property;
}
}