[Arakhnę-Dev] [73] Enforce warning level and fixing the source code accordingly.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 73
Author:   galland
Date:     2009-05-20 21:37:06 +0200 (Wed, 20 May 2009)

Log Message:
-----------
Enforce warning level and fixing  the source code accordingly.

Modified Paths:
--------------
    trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/AbstractWeakSoftValueMap.java
    trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/WeakArrayList.java
    trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/ReflectionUtil.java


Modified: trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/AbstractWeakSoftValueMap.java
===================================================================
--- trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/AbstractWeakSoftValueMap.java	2009-05-20 19:33:33 UTC (rev 72)
+++ trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/AbstractWeakSoftValueMap.java	2009-05-20 19:37:06 UTC (rev 73)
@@ -40,7 +40,7 @@
  * @author Stéphane GALLAND <galland@xxxxxxxxxxx>
  * @version $Name:  $ $Revision: 1.1 $ $Date: 2007-02-20 08:52:37 $
  */
-public abstract class AbstractWeakSoftValueMap<K,V> extends AbstractMap<K,V> implements Map<K,V> {
+public abstract class AbstractWeakSoftValueMap<K,V> extends AbstractMap<K,V> {
 	
 	/** Defines the NULL object inside a WeakValueMap.
 	 * 

Modified: trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/WeakArrayList.java
===================================================================
--- trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/WeakArrayList.java	2009-05-20 19:33:33 UTC (rev 72)
+++ trunk/arakhneRefs/src/main/java/org/arakhne/util/ref/WeakArrayList.java	2009-05-20 19:37:06 UTC (rev 73)
@@ -27,7 +27,6 @@
 import java.util.AbstractList;
 import java.util.Arrays;
 import java.util.Collection;
-import java.util.List;
 
 /**
  * A array-based <tt>List</tt> implementation with <em>weak keys</em>.
@@ -76,7 +75,7 @@
  * @author St&eacute;phane GALLAND &lt;galland@xxxxxxxxxxx&gt;
  * @version $Name:  $ $Revision: 1.1 $ $Date: 2007-02-20 08:52:37 $ 
  */
-public class WeakArrayList<T> extends AbstractList<T> implements List<T> {
+public class WeakArrayList<T> extends AbstractList<T> {
 
 	private static final long serialVersionUID = 2601162363164961860L;
 	

Modified: trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/ReflectionUtil.java
===================================================================
--- trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/ReflectionUtil.java	2009-05-20 19:33:33 UTC (rev 72)
+++ trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/ReflectionUtil.java	2009-05-20 19:37:06 UTC (rev 73)
@@ -438,6 +438,7 @@
 						// In package and not inner class
 						else if (entryPath.endsWith(".class") //$NON-NLS-1$
 							&& !entryPath.contains("$")) { //$NON-NLS-1$
+							assert(ldir!=null);
 							entryClassname = ldir.replaceAll(File.separator, ".") + "." + FileSystem.shortBasename(entryPath); //$NON-NLS-1$ //$NON-NLS-2$
 							try {
 								Class<?> clazz = Class.forName(entryClassname);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/