prevent static field name clashes in local methods
This commit is contained in:
15
testData/src/pkg/TestStaticNameClash.java
Normal file
15
testData/src/pkg/TestStaticNameClash.java
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user