giacomo 2003/01/09 07:06:21 Modified: src/java/org/apache/cocoon/xml NamespacesTable.java Log: make some method package protected instead of privat to increase performance by avoiding 'access emulated by a synthetic accessor method' (objected by eclipse) Revision Changes Path 1.5 +12 -12 xml-cocoon2/src/java/org/apache/cocoon/xml/NamespacesTable.java Index: NamespacesTable.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/xml/NamespacesTable.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -b -u -r1.4 -r1.5 --- NamespacesTable.java 22 Feb 2002 07:03:58 -0000 1.4 +++ NamespacesTable.java 9 Jan 2003 15:06:21 -0000 1.5 @@ -269,20 +269,20 @@ /** The internal entry structure for this table. */ private static class Entry implements Declaration { /** The URI hashcode. */ - private int uriHash=0; + int uriHash=0; /** The prefix hashcode. */ - private int prefixHash=0; + int prefixHash=0; /** The URI string. */ - private String uri=""; + String uri=""; /** The prefix string. */ - private String prefix=""; + String prefix=""; /** The previous declaration for the same prefix. */ - private Entry previousDeclaration=null; + Entry previousDeclaration=null; /** The declaration following this one in the table. */ - private Entry nextEntry=null; + Entry nextEntry=null; /** Create a new namespace declaration. */ - private static Entry create(String prefix, String uri) { + static Entry create(String prefix, String uri) { // Create a new entry Entry e=new Entry(); // Set the prefix string and hash code. @@ -304,13 +304,13 @@ /** The default namespace-aware name declaration implementation */ private static class NameImpl implements Name { /** The namespace URI. */ - private String uri=null; + String uri=null; /** The namespace prefix. */ - private String prefix=null; + String prefix=null; /** The namespace local name. */ - private String local=null; + String local=null; /** The namespace raw name. */ - private String raw=null; + String raw=null; /** Return the namespace URI. */ public String getUri() { return(this.uri); }
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]