diff options
Diffstat (limited to 'tests/pureJava/LocalInitializerVariableNotBlank.java')
-rw-r--r-- | tests/pureJava/LocalInitializerVariableNotBlank.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/pureJava/LocalInitializerVariableNotBlank.java b/tests/pureJava/LocalInitializerVariableNotBlank.java new file mode 100644 index 000000000..6311a154e --- /dev/null +++ b/tests/pureJava/LocalInitializerVariableNotBlank.java @@ -0,0 +1,18 @@ +import java.awt.Color; + +public class LocalInitializerVariableNotBlank { + + static Color[] greys; + + static { + greys=new Color[16]; + int gr; + for(int i=0;i<greys.length;i++) { + gr=(int)(170.0*(1.0-Math.pow(i/15.0,2.3))); + greys[i]=new Color(gr,gr,gr); + } + } + + public static void main(String[] args) { + } +} |