summaryrefslogtreecommitdiff
path: root/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java
index 97991f9c7193..e2c292bdf38d 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper.java
@@ -31,12 +31,12 @@ public abstract class OneOfConstantsMapper implements StyleMapper
{
private final StyleKey styleKey;
- private final Map mappings;
+ private final Map<String, CSSValue> mappings;
protected OneOfConstantsMapper(final StyleKey styleKey)
{
this.styleKey = styleKey;
- this.mappings = new HashMap();
+ this.mappings = new HashMap<String, CSSValue>();
}
public void addMapping(final String value, final CSSValue target)
@@ -63,6 +63,6 @@ public abstract class OneOfConstantsMapper implements StyleMapper
protected CSSValue lookupMapping(final String attrValue)
{
- return (CSSValue) mappings.get(attrValue);
+ return mappings.get(attrValue);
}
}