< prev index next >

src/java.desktop/share/classes/javax/swing/DebugGraphics.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -768,11 +768,11 @@
     }
 
     /**
      * Overrides <code>Graphics.drawPolyline</code>.
      */
-    public void drawPolyline(int xPoints[], int yPoints[], int nPoints) {
+    public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) {
         DebugGraphicsInfo info = info();
 
         if (debugLog()) {
             info().log(toShortString() +
                       " Drawing polyline: " +

@@ -803,11 +803,11 @@
     }
 
     /**
      * Overrides <code>Graphics.drawPolygon</code>.
      */
-    public void drawPolygon(int xPoints[], int yPoints[], int nPoints) {
+    public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) {
         DebugGraphicsInfo info = info();
 
         if (debugLog()) {
             info().log(toShortString() +
                       " Drawing polygon: " +

@@ -838,11 +838,11 @@
     }
 
     /**
      * Overrides <code>Graphics.fillPolygon</code>.
      */
-    public void fillPolygon(int xPoints[], int yPoints[], int nPoints) {
+    public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) {
         DebugGraphicsInfo info = info();
 
         if (debugLog()) {
             info().log(toShortString() +
                       " Filling polygon: " +

@@ -943,11 +943,11 @@
     }
 
     /**
      * Overrides <code>Graphics.drawBytes</code>.
      */
-    public void drawBytes(byte data[], int offset, int length, int x, int y) {
+    public void drawBytes(byte[] data, int offset, int length, int x, int y) {
         DebugGraphicsInfo info = info();
 
         Font font = graphics.getFont();
 
         if (debugLog()) {

@@ -979,11 +979,11 @@
     }
 
     /**
      * Overrides <code>Graphics.drawChars</code>.
      */
-    public void drawChars(char data[], int offset, int length, int x, int y) {
+    public void drawChars(char[] data, int offset, int length, int x, int y) {
         DebugGraphicsInfo info = info();
 
         Font font = graphics.getFont();
 
         if (debugLog()) {
< prev index next >