1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-10 09:22:49 +00:00

Small documentation changes

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-07-29 17:02:37 -03:00
parent f917602de1
commit 373ea43f3e
12 changed files with 106 additions and 12 deletions

View File

@@ -51,9 +51,9 @@ public class WeakCacheService extends AbstractService implements CacheService {
final T instance) {
Preconditions.checkNotNull(interfaceType, "interfaceType");
Preconditions.checkNotNull(instance, "instance");
Preconditions.checkArgument(interfaceType.isInterface(),
"interfaceType is not an interface");
if (!interfaceType.isInterface())
return null;
@SuppressWarnings("unchecked")
final T proxy = (T) Proxy.newProxyInstance(this.getClass()
.getClassLoader(), new Class[] { interfaceType },