Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid_williams2005-07-05 05:54:08 +0000
committerdavid_williams2005-07-05 05:54:08 +0000
commit126339fe7284241a40d1602ed36a138764b62a54 (patch)
tree540f4b1cd75c3ff22baffe4f936c89b3e366d3d3 /bundles/org.eclipse.wst.css.core/src/org/eclipse
parentb1d67dc0dc1d66e7ef0c9b8ff1732a08e32c2884 (diff)
downloadwebtools.sourceediting-126339fe7284241a40d1602ed36a138764b62a54.tar.gz
webtools.sourceediting-126339fe7284241a40d1602ed36a138764b62a54.tar.xz
webtools.sourceediting-126339fe7284241a40d1602ed36a138764b62a54.zip
[101556] JSP w/ XML editor dirty when opened
Diffstat (limited to 'bundles/org.eclipse.wst.css.core/src/org/eclipse')
-rw-r--r--bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/contenttype/ContentDescriberForCSS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/contenttype/ContentDescriberForCSS.java b/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/contenttype/ContentDescriberForCSS.java
index 5eeca5c720..cb2f09247a 100644
--- a/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/contenttype/ContentDescriberForCSS.java
+++ b/bundles/org.eclipse.wst.css.core/src/org/eclipse/wst/css/core/internal/contenttype/ContentDescriberForCSS.java
@@ -83,7 +83,7 @@ public final class ContentDescriberForCSS implements ITextContentDescriber {
// mulitiple times (one for each, say) that we don't waste time
// processing same
// content again.
- EncodingMemento encodingMemento = detector.getEncodingMemento();
+ EncodingMemento encodingMemento = ((CSSResourceEncodingDetector)detector).getEncodingMemento();
// TODO: I need to verify to see if this BOM work is always done
// by text type.
Object detectedByteOrderMark = encodingMemento.getUnicodeBOM();

Back to the top