diff options
Diffstat (limited to 'guava/src/com/google/common/io/CharSequenceReader.java')
-rw-r--r-- | guava/src/com/google/common/io/CharSequenceReader.java | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/guava/src/com/google/common/io/CharSequenceReader.java b/guava/src/com/google/common/io/CharSequenceReader.java index 4cbeda1fb..34ef83285 100644 --- a/guava/src/com/google/common/io/CharSequenceReader.java +++ b/guava/src/com/google/common/io/CharSequenceReader.java @@ -1,15 +1,17 @@ /* * Copyright (C) 2013 The Guava Authors * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.google.common.io; @@ -18,7 +20,6 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkPositionIndexes; -import com.google.common.annotations.GwtIncompatible; import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; @@ -29,15 +30,16 @@ import java.nio.CharBuffer; * * @author Colin Decker */ -// TODO(cgdecker): make this public? as a type, or a method in CharStreams? -@GwtIncompatible +// TODO(user): make this public? as a type, or a method in CharStreams? final class CharSequenceReader extends Reader { private CharSequence seq; private int pos; private int mark; - /** Creates a new reader wrapping the given character sequence. */ + /** + * Creates a new reader wrapping the given character sequence. + */ public CharSequenceReader(CharSequence seq) { this.seq = checkNotNull(seq); } |