diff options
author | bellingard <bellingard@gmail.com> | 2010-10-29 07:25:01 +0000 |
---|---|---|
committer | bellingard <bellingard@gmail.com> | 2010-10-29 07:25:01 +0000 |
commit | 24ec0d77135ebe364b2bd30b486f2a642defa706 (patch) | |
tree | 54e200fceef8973635dacd8c3f7dcbec5c404e35 /sonar-channel/src | |
parent | 34afe79711c94ffb59f3413066f9c0cb1d5c6fa0 (diff) | |
download | sonarqube-24ec0d77135ebe364b2bd30b486f2a642defa706.tar.gz sonarqube-24ec0d77135ebe364b2bd30b486f2a642defa706.zip |
Typo fixes
Diffstat (limited to 'sonar-channel/src')
3 files changed, 5 insertions, 5 deletions
diff --git a/sonar-channel/src/main/java/org/sonar/channel/ChannelCodeReaderFilter.java b/sonar-channel/src/main/java/org/sonar/channel/ChannelCodeReaderFilter.java index dabe5b7f4aa..59b3f810807 100644 --- a/sonar-channel/src/main/java/org/sonar/channel/ChannelCodeReaderFilter.java +++ b/sonar-channel/src/main/java/org/sonar/channel/ChannelCodeReaderFilter.java @@ -72,7 +72,7 @@ public final class ChannelCodeReaderFilter<OUTPUT> extends CodeReaderFilter<OUTP * ${@inheritDoc} */ @Override - public int read(char[] filteredBuffer, int offset, int lenght) throws IOException { + public int read(char[] filteredBuffer, int offset, int length) throws IOException { int initialOffset = offset; while (offset < filteredBuffer.length) { if (internalCodeReader.peek() == -1) { 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 1f837aea4ba..7a50d4be6e2 100644 --- a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java +++ b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderConfiguration.java @@ -24,9 +24,9 @@ package org.sonar.channel; */ public class CodeReaderConfiguration { - private final static int DEFAULT_BUFFER_CAPACITY = 8000; + public final static int DEFAULT_BUFFER_CAPACITY = 8000; - private final static int DEFAULT_TAB_WIDTH = 1; + public final static int DEFAULT_TAB_WIDTH = 1; private int bufferCapacity = DEFAULT_BUFFER_CAPACITY; diff --git a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderFilter.java b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderFilter.java index d152783a17b..65c2c1db204 100644 --- a/sonar-channel/src/main/java/org/sonar/channel/CodeReaderFilter.java +++ b/sonar-channel/src/main/java/org/sonar/channel/CodeReaderFilter.java @@ -120,12 +120,12 @@ public abstract class CodeReaderFilter<OUTPUT> { * the output buffer that must contain the filtered data * @param offset * the offset to start reading from the reader - * @param lenght + * @param length * the number of characters to read from the reader * @return The number of characters read, or -1 if the end of the stream has been reached * @throws IOException * If an I/O error occurs */ - public abstract int read(char[] filteredBuffer, int offset, int lenght) throws IOException; + public abstract int read(char[] filteredBuffer, int offset, int length) throws IOException; } |