hillion 01/06/12 07:09:20
Modified: sources/org/apache/batik/css AbstractViewCSS.java
Log:
Removed code which caused batik to run very slowly with jdk1.3.1.
Revision Changes Path
1.14 +1 -7 xml-batik/sources/org/apache/batik/css/AbstractViewCSS.java
Index: AbstractViewCSS.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/AbstractViewCSS.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- AbstractViewCSS.java 2001/04/23 08:46:37 1.13
+++ AbstractViewCSS.java 2001/06/12 14:09:19 1.14
@@ -44,7 +44,7 @@
* {@link org.w3c.dom.css.ViewCSS} interface.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a>
- * @version $Id: AbstractViewCSS.java,v 1.13 2001/04/23 08:46:37 hillion Exp $
+ * @version $Id: AbstractViewCSS.java,v 1.14 2001/06/12 14:09:19 hillion Exp $
*/
public abstract class AbstractViewCSS implements ViewCSS {
@@ -578,8 +578,6 @@
* Caches the given computed style.
*/
public void put(Element elt, String pe, CSSOMReadOnlyStyleDeclaration sd) {
- update();
-
int hash = hashCode(elt, pe) & 0x7FFFFFFF;
int index = hash % table.length;
@@ -606,8 +604,6 @@
*/
public void putPermanent(Element elt, String pe,
CSSOMReadOnlyStyleDeclaration sd) {
- update();
-
int hash = hashCode(elt, pe) & 0x7FFFFFFF;
int index = hash % table.length;
@@ -634,8 +630,6 @@
* and pseudo-element, if any.
*/
public CSSOMReadOnlyStyleDeclaration get(Element elt, String pe) {
- update();
-
int hash = hashCode(elt, pe) & 0x7FFFFFFF;
int index = hash % table.length;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]