Procházet zdrojové kódy

Revert CodeReaderConfiguration deprecated methods

tags/4.2
Simon Brandhof před 10 roky
rodič
revize
814d78a6ea

+ 24
- 0
sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java Zobrazit soubor

*/ */
public class CodeReaderConfiguration { public class CodeReaderConfiguration {


/**
* @deprecated in 2.12, do not use anymore.
*/
@Deprecated
public static final int DEFAULT_BUFFER_CAPACITY = 8000;

public static final int DEFAULT_TAB_WIDTH = 1; public static final int DEFAULT_TAB_WIDTH = 1;


private int tabWidth = DEFAULT_TAB_WIDTH; private int tabWidth = DEFAULT_TAB_WIDTH;


private List<CodeReaderFilter<?>> codeReaderFilters = new ArrayList<CodeReaderFilter<?>>(); private List<CodeReaderFilter<?>> codeReaderFilters = new ArrayList<CodeReaderFilter<?>>();


/**
* @deprecated in 2.12, do not use anymore.
* @return the constant Integer.MAX_VALUE
*/
@Deprecated
public int getBufferCapacity() {
return Integer.MAX_VALUE;
}

/**
* @deprecated in 2.12, do not use anymore.
* @param bufferCapacity
* the bufferCapacity to set
*/
@Deprecated
public void setBufferCapacity(int bufferCapacity) {
}

/** /**
* @return the tabWidth * @return the tabWidth
*/ */

Načítá se…
Zrušit
Uložit