New and improved lint removal.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4438 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-10-26 23:00:20 +00:00
parent 9437211e40
commit 35082bbaca
6 changed files with 22 additions and 1 deletions
+2 -1
View File
@@ -133,7 +133,8 @@
debug="on" optimize="{$build.optimize}" deprecation="on"
source="1.5" target="1.5">
<classpath refid="classpath"/>
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint"/>
<compilerarg value="-Xlint:-serial"/>
</javac>
</target>
@@ -116,6 +116,7 @@ public abstract class PlaceController extends Controller
*
* @deprecated Use {@link #createPlaceView(CrowdContext)}.
*/
@Deprecated
protected PlaceView createPlaceView ()
{
return null;
@@ -50,6 +50,7 @@ public abstract class PlaceConfig extends SimpleStreamableObject
*
* @deprecated Override {@link #createController} directly.
*/
@Deprecated
public Class getControllerClass ()
{
return null;
@@ -89,6 +89,7 @@ public class PlaceManager
* @deprecated Use dynamically bound methods instead. See {@link
* DynamicListener}.
*/
@Deprecated
public static interface MessageHandler
{
/**
@@ -326,6 +327,7 @@ public class PlaceManager
* @deprecated Use dynamically bound methods instead. See {@link
* DynamicListener}.
*/
@Deprecated
public void registerMessageHandler (String name, MessageHandler handler)
{
// create our handler map if necessary
@@ -441,6 +443,7 @@ public class PlaceManager
/**
* @deprecated Use {@link #createPlaceObject}.
*/
@Deprecated
protected Class<? extends PlaceObject> getPlaceObjectClass ()
{
return PlaceObject.class;
@@ -237,6 +237,7 @@ public class DSet<E extends DSet.Entry>
/**
* @deprecated use {@link #toArray(Entry[])}.
*/
@Deprecated
public Object[] toArray (Object[] array)
{
@SuppressWarnings("unchecked") E[] casted = (E[])array;
@@ -31,11 +31,13 @@ import java.util.Random;
*
* @deprecated moved to {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public class RandomUtil
{
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getInt (int high)
{
return com.samskivert.util.RandomUtil.getInt(high);
@@ -44,6 +46,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getInt (int high, int low)
{
return com.samskivert.util.RandomUtil.getInt(high, low);
@@ -52,6 +55,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static float getFloat (float high)
{
return com.samskivert.util.RandomUtil.getFloat(high);
@@ -60,6 +64,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getWeightedIndex (int[] weights)
{
return com.samskivert.util.RandomUtil.getWeightedIndex(weights);
@@ -68,6 +73,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getWeightedIndex (float[] weights)
{
return com.samskivert.util.RandomUtil.getWeightedIndex(weights);
@@ -76,6 +82,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (T[] values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -84,6 +91,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (T[] values, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip);
@@ -92,6 +100,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Collection<T> values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -100,6 +109,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -108,6 +118,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip);
@@ -116,6 +127,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values, T skip, Random r)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip, r);
@@ -124,6 +136,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Iterator<T> iter, int count)
{
return com.samskivert.util.RandomUtil.pickRandom(iter, count);
@@ -132,6 +145,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Iterator<T> iter, int count, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(iter, count, skip);