The following issues were found
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
1 issues
Line: 67
}
}
private static final class WrapperException extends Exception {
WrapperException(Throwable t) {
super(t);
}
}
Reported by PMD.
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
1 issues
Line: 25
* the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function)
* Futures.catching} family of methods. Those versions have slightly different signatures.
*/
abstract class GwtFuturesCatchingSpecialization {
/*
* In the GWT versions of the methods (below), every exceptionType parameter is required to be
* Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
* your own instanceof tests.
*/
Reported by PMD.
android/guava/src/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java
1 issues
Line: 33
* <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
*/
@GwtCompatible(emulated = true)
abstract class LinkedHashMultimapGwtSerializationDependencies<K, V>
extends AbstractSetMultimap<K, V> {
LinkedHashMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
super(map);
}
}
Reported by PMD.
android/guava/src/com/google/common/cache/ReferenceEntry.java
1 issues
Line: 69
*/
/** Returns the time that this entry was last accessed, in ns. */
@SuppressWarnings("GoodTime")
long getAccessTime();
/** Sets the entry access time in ns. */
@SuppressWarnings("GoodTime") // b/122668874
void setAccessTime(long time);
Reported by PMD.
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
1 issues
Line: 68
builder.append(", ");
builder.append(args[i++]);
}
builder.append("]");
}
return builder.toString();
}
Reported by PMD.
guava-gwt/test-super/com/google/common/math/super/com/google/common/math/TestPlatform.java
1 issues
Line: 23
/** @author Chris Povirk */
@GwtCompatible(emulated = true)
class TestPlatform {
static boolean intsCanGoOutOfRange() {
return true;
}
static boolean isAndroid() {
Reported by PMD.