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-05-01 08:03:21 +0000
committerdavid_williams2005-05-01 08:03:21 +0000
commit757ccfef7630b35b28cd0a7615785cfbaefa8744 (patch)
tree2dc3b47aa6e9498b50fdc5425b369e21a9e9c4ec /bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java
parente0b1419da83e3a4a66f8241e596b748807089212 (diff)
downloadwebtools.sourceediting-757ccfef7630b35b28cd0a7615785cfbaefa8744.tar.gz
webtools.sourceediting-757ccfef7630b35b28cd0a7615785cfbaefa8744.tar.xz
webtools.sourceediting-757ccfef7630b35b28cd0a7615785cfbaefa8744.zip
several fixes and some renames to 'internal'
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java')
-rw-r--r--bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java
index 26597672f9..fdba1fb9cc 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/ContentDescriberForXML.java
@@ -25,10 +25,10 @@ import org.eclipse.wst.sse.core.internal.encoding.IContentDescriptionExtended;
import org.eclipse.wst.sse.core.internal.encoding.IResourceCharsetDetector;
-public class ContentDescriberForXML implements ITextContentDescriber {
+public final class ContentDescriberForXML implements ITextContentDescriber {
private final static QualifiedName[] SUPPORTED_OPTIONS = {IContentDescription.CHARSET, IContentDescription.BYTE_ORDER_MARK, IContentDescriptionExtended.DETECTED_CHARSET, IContentDescriptionExtended.UNSUPPORTED_CHARSET, IContentDescriptionExtended.APPROPRIATE_DEFAULT};
- protected IResourceCharsetDetector getDetector() {
+ private IResourceCharsetDetector getDetector() {
return new XMLResourceEncodingDetector();
}
@@ -140,7 +140,7 @@ public class ContentDescriberForXML implements ITextContentDescriber {
* @param detector
* @throws IOException
*/
- protected void handleCalculations(IContentDescription description, IResourceCharsetDetector detector) throws IOException {
+ private void handleCalculations(IContentDescription description, IResourceCharsetDetector detector) throws IOException {
// note: if we're asked for one, we set them all. I need to be sure if
// called
// mulitiple times (one for each, say) that we don't waste time

Back to the top