1 /* |
1 /* |
2 * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
104 |
104 |
105 private ParserData[] parserData ; |
105 private ParserData[] parserData ; |
106 |
106 |
107 public ParserData[] getParserData() |
107 public ParserData[] getParserData() |
108 { |
108 { |
109 return parserData ; |
109 ParserData[] parserArray = new ParserData[parserData.length]; |
|
110 System.arraycopy(parserData, 0, parserArray, 0, parserData.length); |
|
111 return parserArray; |
110 } |
112 } |
111 |
113 |
112 private ParserTable() { |
114 private ParserTable() { |
113 wrapper = ORBUtilSystemException.get( CORBALogDomains.ORB_LIFECYCLE ) ; |
115 wrapper = ORBUtilSystemException.get( CORBALogDomains.ORB_LIFECYCLE ) ; |
114 |
116 |