src/demo/share/jfc/SwingSet2/BezierAnimationPanel.java
changeset 52252 de9486d74a74
parent 49495 f46bfa7a2956
child 57928 f95327be136a
--- a/src/demo/share/jfc/SwingSet2/BezierAnimationPanel.java	Mon Oct 01 12:06:44 2018 +0200
+++ b/src/demo/share/jfc/SwingSet2/BezierAnimationPanel.java	Tue Oct 09 18:25:57 2018 -0700
@@ -1,6 +1,6 @@
 /*
  *
- * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -64,11 +64,11 @@
 
     public final int NUMPTS = 6;
 
-    float animpts[] = new float[NUMPTS * 2];
+    float[] animpts = new float[NUMPTS * 2];
 
-    float deltas[] = new float[NUMPTS * 2];
+    float[] deltas = new float[NUMPTS * 2];
 
-    float staticpts[] = {
+    float[] staticpts = {
          50.0f,   0.0f,
         150.0f,   0.0f,
         200.0f,  75.0f,
@@ -77,7 +77,7 @@
           0.0f,  75.0f,
     };
 
-    float movepts[] = new float[staticpts.length];
+    float[] movepts = new float[staticpts.length];
 
     BufferedImage img;