< prev index next >

src/jdk.rmic/share/classes/sun/tools/java/Parser.java

Print this page

        

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

@@ -280,17 +280,17 @@
             System.arraycopy(args, 0, newArgs, 0, args.length);
             args = newArgs;
         }
         args[argIndex++] = n;
     }
-    protected final Expression exprArgs(int index)[] {
+    protected final Expression[] exprArgs(int index) {
         Expression e[] = new Expression[argIndex - index];
         System.arraycopy(args, index, e, 0, argIndex - index);
         argIndex = index;
         return e;
     }
-    protected final Statement statArgs(int index)[] {
+    protected final Statement[] statArgs(int index) {
         Statement s[] = new Statement[argIndex - index];
         System.arraycopy(args, index, s, 0, argIndex - index);
         argIndex = index;
         return s;
     }
< prev index next >