The following issues were found

guava/src/com/google/common/io/LittleEndianDataInputStream.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 45

              @Beta
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput {

  /**
   * Creates a {@code LittleEndianDataInputStream} that wraps the given stream.
   *
   * @param in the stream to delegate to

            

Reported by PMD.

guava/src/com/google/common/io/LittleEndianDataOutputStream.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 41

              @Beta
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {

  /**
   * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream.
   *
   * @param out the stream to delegate to

            

Reported by PMD.

guava/src/com/google/common/collect/BaseImmutableMultimap.java
1 issues
No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead.
Design

Line: 26

               */
@GwtCompatible
@ElementTypesAreNonnullByDefault
abstract class BaseImmutableMultimap<K, V> extends AbstractMultimap<K, V> {}

            

Reported by PMD.

guava/src/com/google/common/io/CountingOutputStream.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 34

              @ElementTypesAreNonnullByDefault
public final class CountingOutputStream extends FilterOutputStream {

  private long count;

  /**
   * Wraps another output stream, counting the number of bytes written.
   *
   * @param out the output stream to be wrapped

            

Reported by PMD.

guava/src/com/google/common/collect/ComparatorOrdering.java
1 issues
Found non-transient, non-static member. Please mark as transient or provide accessors.
Error

Line: 32

              @ElementTypesAreNonnullByDefault
final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T>
    implements Serializable {
  final Comparator<T> comparator;

  ComparatorOrdering(Comparator<T> comparator) {
    this.comparator = checkNotNull(comparator);
  }


            

Reported by PMD.

guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
1 issues
Classes implementing Serializable should set a serialVersionUID
Error

Line: 33

               * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
 */
@GwtCompatible(emulated = true)
abstract class ArrayListMultimapGwtSerializationDependencies<K, V>
    extends AbstractListMultimap<K, V> {
  ArrayListMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
    super(map);
  }
  // TODO(cpovirk): Maybe I should have just one shared superclass for AbstractMultimap itself?

            

Reported by PMD.

guava/src/com/google/common/io/ByteArrayDataOutput.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 30

               */
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public interface ByteArrayDataOutput extends DataOutput {
  @Override
  void write(int b);

  @Override
  void write(byte b[]);

            

Reported by PMD.

guava/src/com/google/common/base/Absent.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 27

              /** Implementation of an {@link Optional} not containing a reference. */
@GwtCompatible
@ElementTypesAreNonnullByDefault
final class Absent<T> extends Optional<T> {
  static final Absent<Object> INSTANCE = new Absent<>();

  @SuppressWarnings("unchecked") // implementation is "fully variant"
  static <T> Optional<T> withType() {
    return (Optional<T>) INSTANCE;

            

Reported by PMD.

guava/src/com/google/common/io/ByteArrayDataInput.java
1 issues
This class has too many methods, consider refactoring it.
Design

Line: 37

               */
@GwtIncompatible
@ElementTypesAreNonnullByDefault
public interface ByteArrayDataInput extends DataInput {
  @Override
  void readFully(byte b[]);

  @Override
  void readFully(byte b[], int off, int len);

            

Reported by PMD.

guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
1 issues
Classes implementing Serializable should set a serialVersionUID
Error

Line: 36

               */
@GwtCompatible
@ElementTypesAreNonnullByDefault
abstract class AbstractSortedKeySortedSetMultimap<
        K extends @Nullable Object, V extends @Nullable Object>
    extends AbstractSortedSetMultimap<K, V> {

  AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) {
    super(map);

            

Reported by PMD.