aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-channel/src/main/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-12-11 15:33:36 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-12-11 15:33:36 +0100
commitfd424eb43e22b998701f369000caf4ef707318f4 (patch)
tree6843e7df2004def32be840be3b87864ee9d8cc35 /sonar-channel/src/main/java/org
parenteca1f588185032eda81158c53cc024f81c68974b (diff)
downloadsonarqube-fd424eb43e22b998701f369000caf4ef707318f4.tar.gz
sonarqube-fd424eb43e22b998701f369000caf4ef707318f4.zip
Remove deprecated (and unused) methods in sonar-channel
Diffstat (limited to 'sonar-channel/src/main/java/org')
-rw-r--r--sonar-channel/src/main/java/org/sonar/channel/CodeBuffer.java7
-rw-r--r--sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java24
2 files changed, 0 insertions, 31 deletions
diff --git a/sonar-channel/src/main/java/org/sonar/channel/CodeBuffer.java b/sonar-channel/src/main/java/org/sonar/channel/CodeBuffer.java
index fda5c5b67d9..883309f23fe 100644
--- a/sonar-channel/src/main/java/org/sonar/channel/CodeBuffer.java
+++ b/sonar-channel/src/main/java/org/sonar/channel/CodeBuffer.java
@@ -127,13 +127,6 @@ public class CodeBuffer implements CharSequence {
}
/**
- * @deprecated in 2.12, do not use anymore.
- */
- @Deprecated
- public final void close() {
- }
-
- /**
* @return the current line of the cursor
*/
public final int getLinePosition() {
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 a5b3bf9222e..f433dae556b 100644
--- a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java
+++ b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java
@@ -28,12 +28,6 @@ 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;
@@ -41,24 +35,6 @@ 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() {