*/
package org.sonar.colorizer;
+import javax.annotation.CheckForNull;
+import javax.annotation.Nullable;
+
+ /**
+ * @deprecated since 4.5.2 replace by highlighting mechanism
+ */
+ @Deprecated
public class HtmlOptions {
public static final HtmlOptions DEFAULT = new HtmlOptions(true, null, true);
public static final OnlySyntaxHtmlOptions ONLY_SYNTAX = new OnlySyntaxHtmlOptions();
literalValue = new StringBuilder();
}
+ @Override
public boolean match(int endFlag) {
literalValue.append((char) endFlag);
- return code.lastChar()==firstChar && evenNumberOfBackSlashBeforeDelimiter() && literalValue.length()>1;
+ return code.lastChar() == firstChar && evenNumberOfBackSlashBeforeDelimiter() && literalValue.length() > 1;
}
private boolean evenNumberOfBackSlashBeforeDelimiter() {
import java.util.Set;
/**
- * @deprecated since 5.0 should not be an API. Everything should be accessed using {@link SensorContext}.
- * @deprecated since 4.5.2 should not be used by plugins.
++ * @deprecated since 4.5.2 should not be used by plugins. Everything should be accessed using {@link SensorContext}.
*/
@Deprecated
public abstract class SonarIndex implements DirectedGraphAccessor<Resource, Dependency> {
import java.util.List;
/**
- * Extend the library sonar-colorizer to support new languages. By default only Java sources are colorized in Sonar.
+ * Extend the library sonar-colorizer to support new languages.
*
* @since 1.12
- * @deprecated since 5.0 use {@link Highlightable} API
- * @deprecated since 4.5.2 use {@link Highlightable}
++ * @deprecated since 4.5.2 use {@link Highlightable} API
*/
@Deprecated
- public abstract class CodeColorizerFormat implements ServerExtension, TaskExtension {
+ public abstract class CodeColorizerFormat implements ServerExtension {
private String languageKey;