The following issues were found

guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java
1 issues
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.
Design

Line: 24

               *
 * @author Louis Wasserman
 */
final class LongAddables {
  public static LongAddable create() {
    return new LongAdder();
  }
}

            

Reported by PMD.

android/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.

android/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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
1 issues
Classes implementing Serializable should set a serialVersionUID
Error

Line: 24

              import java.util.Map;

@GwtCompatible(emulated = true)
abstract class ArrayListMultimapGwtSerializationDependencies<K, V>
    extends AbstractListMultimap<K, V> {
  ArrayListMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
    super(map);
  }


            

Reported by PMD.

android/guava/src/com/google/common/collect/SingletonImmutableSet.java
1 issues
Ensure you override both equals() and hashCode()
Error

Line: 88

                }

  @Override
  public final int hashCode() {
    // Racy single-check.
    int code = cachedHashCode;
    if (code == 0) {
      cachedHashCode = code = element.hashCode();
    }

            

Reported by PMD.

guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java
1 issues
Classes implementing Serializable should set a serialVersionUID
Error

Line: 29

               * @author Hayward Chan
 */
// TODO: Make this class GWT serializable.
class ForwardingImmutableCollection<E> extends ImmutableCollection<E> {

  final transient Collection<E> delegate;

  ForwardingImmutableCollection(Collection<E> delegate) {
    this.delegate = delegate;

            

Reported by PMD.

android/guava/src/com/google/common/base/Function.java
1 issues
The method 'apply(F)' is missing an @Override annotation.
Design

Line: 66

                 */
  @CanIgnoreReturnValue // TODO(kevinb): remove this
  @ParametricNullness
  T apply(@ParametricNullness F input);

  /**
   * <i>May</i> return {@code true} if {@code object} is a {@code Function} that behaves identically
   * to this function.
   *

            

Reported by PMD.

android/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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
1 issues
Ensure you override both equals() and hashCode()
Error

Line: 81

                // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?

  @Override
  public int hashCode() {
    return delegate.hashCode();
  }
}

            

Reported by PMD.

android/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.