You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2001/03/15 16:36:47 UTC
cvs commit: xml-batik/sources/org/apache/batik/css CSSOMReadOnlyStyleDeclaration.java
hillion 01/03/15 07:36:47
Modified: sources/org/apache/batik/css
CSSOMReadOnlyStyleDeclaration.java
Log:
More CSS engine optimizations.
Revision Changes Path
1.9 +4 -7 xml-batik/sources/org/apache/batik/css/CSSOMReadOnlyStyleDeclaration.java
Index: CSSOMReadOnlyStyleDeclaration.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/css/CSSOMReadOnlyStyleDeclaration.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- CSSOMReadOnlyStyleDeclaration.java 2001/03/15 13:59:25 1.8
+++ CSSOMReadOnlyStyleDeclaration.java 2001/03/15 15:36:46 1.9
@@ -29,7 +29,7 @@
* interface.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: CSSOMReadOnlyStyleDeclaration.java,v 1.8 2001/03/15 13:59:25 hillion Exp $
+ * @version $Id: CSSOMReadOnlyStyleDeclaration.java,v 1.9 2001/03/15 15:36:46 hillion Exp $
*/
public class CSSOMReadOnlyStyleDeclaration implements CSSStyleDeclaration {
/**
@@ -169,8 +169,7 @@
* Returns the local CSSValue.
*/
public CSSValue getLocalPropertyCSSValue(String propertyName) {
- String s = propertyName.toLowerCase().intern();
- ValueEntry ve = properties.get(s);
+ ValueEntry ve = properties.get(propertyName);
return (ve == null) ? null : ve.value;
}
@@ -210,8 +209,7 @@
* Returns the local property origin.
*/
public int getLocalPropertyOrigin(String propertyName) {
- String s = propertyName.toLowerCase().intern();
- ValueEntry ve = properties.get(s);
+ ValueEntry ve = properties.get(propertyName);
return (ve == null) ? AUTHOR_ORIGIN : ve.getOrigin();
}
@@ -251,8 +249,7 @@
* Returns the local priority.
*/
public String getLocalPropertyPriority(String propertyName) {
- String s = propertyName.toLowerCase().intern();
- ValueEntry ve = properties.get(s);
+ ValueEntry ve = properties.get(propertyName);
return (ve == null) ? "" : ve.getPriority();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org