Bläddra i källkod

Revert CodeReaderConfiguration deprecated methods

tags/4.2
Simon Brandhof 10 år sedan
förälder
incheckning
814d78a6ea

+ 24
- 0
sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java Visa fil

@@ -28,12 +28,36 @@ import java.util.List;
*/
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;

private int tabWidth = DEFAULT_TAB_WIDTH;

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
*/

Laddar…
Avbryt
Spara