Skip to content

Commit e90b0cc

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of runtime/bundles/org.eclipse.core.contenttype
1 parent f394888 commit e90b0cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

runtime/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/runtime/content/XMLRootElementContentDescriber.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ private int checkCriteria(Map<String, Object> properties) throws IOException {
9696
/* (Intentionally not included in javadoc)
9797
* @see IContentDescriber#describe(InputStream, IContentDescription)
9898
*/
99+
@Deprecated
99100
@Override
100101
public int describe(InputStream contents, IContentDescription description) throws IOException {
101102
return describe(contents, description, new HashMap<>());
@@ -104,6 +105,7 @@ public int describe(InputStream contents, IContentDescription description) throw
104105
/**
105106
* @noreference This method is not intended to be referenced by clients.
106107
*/
108+
@Deprecated
107109
public int describe(InputStream contents, IContentDescription description, Map<String, Object> properties) throws IOException {
108110
// call the basic XML describer to do basic recognition
109111
if (super.describe2(contents, description, properties) == INVALID) {
@@ -118,6 +120,7 @@ public int describe(InputStream contents, IContentDescription description, Map<S
118120
/* (Intentionally not included in javadoc)
119121
* @see IContentDescriber#describe(Reader, IContentDescription)
120122
*/
123+
@Deprecated
121124
@Override
122125
public int describe(Reader contents, IContentDescription description) throws IOException {
123126
return describe(contents, description, new HashMap<>());
@@ -126,6 +129,7 @@ public int describe(Reader contents, IContentDescription description) throws IOE
126129
/**
127130
* @noreference This method is not intended to be referenced by clients.
128131
*/
132+
@Deprecated
129133
public int describe(Reader contents, IContentDescription description, Map<String, Object> properties) throws IOException {
130134
// call the basic XML describer to do basic recognition
131135
if (super.describe2(contents, description, properties) == INVALID) {
@@ -140,6 +144,7 @@ public int describe(Reader contents, IContentDescription description, Map<String
140144
/* (Intentionally not included in javadoc)
141145
* @see IExecutableExtension#setInitializationData
142146
*/
147+
@Deprecated
143148
@Override
144149
public void setInitializationData(final IConfigurationElement config, final String propertyName, final Object data) throws CoreException {
145150
if (data instanceof String) {

0 commit comments

Comments
 (0)