aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-channel/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-12-12 10:03:11 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-12-12 10:03:18 +0100
commit814d78a6eaf1482e54cb96a76a8ede66387efa47 (patch)
treefb4469140740477359949a804cc66302288ad0eb /sonar-channel/src
parent40bbca6ef05411d3a261a334990a86004feaf072 (diff)
downloadsonarqube-814d78a6eaf1482e54cb96a76a8ede66387efa47.tar.gz
sonarqube-814d78a6eaf1482e54cb96a76a8ede66387efa47.zip
Revert CodeReaderConfiguration deprecated methods
Diffstat (limited to 'sonar-channel/src')
-rw-r--r--sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java
index f433dae556b..a5b3bf9222e 100644
--- a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java
+++ b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java
@@ -28,6 +28,12 @@ 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;
@@ -35,6 +41,24 @@ public class CodeReaderConfiguration {
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
*/
public int getTabWidth() {