< prev index next >

src/java.desktop/share/classes/javax/swing/text/html/parser/DocumentParser.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 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

@@ -175,11 +175,11 @@
             flushAttributes();
         }
     }
 
 
-    protected void handleComment(char text[]) {
+    protected void handleComment(char[] text) {
         if (debugFlag) {
             debug("comment: ->" + new String(text) + "<-"
                   + " pos: " + getCurrentPos());
         }
         callback.handleComment(text, getBlockStartPosition());

@@ -255,11 +255,11 @@
     }
 
     /**
      * Handle Text.
      */
-    protected void handleText(char data[]) {
+    protected void handleText(char[] data) {
         if (data != null) {
             if (inscript != 0) {
                 callback.handleComment(data, getBlockStartPosition());
                 return;
             }
< prev index next >