Unused import pruning.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2345 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -57,7 +57,6 @@ public class MySQLLiaison extends BaseLiaison
|
||||
// AUTO_INCREMENT does not create any database entities that we need to delete
|
||||
}
|
||||
|
||||
|
||||
// from DatabaseLiaison
|
||||
public int lastInsertedId (Connection conn, String table, String column) throws SQLException
|
||||
{
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
package com.samskivert.jdbc;
|
||||
|
||||
import com.samskivert.io.PersistenceException;
|
||||
import com.samskivert.util.ResultListener;
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.jdbc.depot;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -32,8 +32,6 @@ import com.samskivert.jdbc.JDBCUtil;
|
||||
import com.samskivert.jdbc.depot.clause.QueryClause;
|
||||
import com.samskivert.jdbc.depot.clause.SelectClause;
|
||||
|
||||
import static com.samskivert.jdbc.depot.Log.log;
|
||||
|
||||
/**
|
||||
* The implementation of {@link DepotRepository#find) functionality.
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.jdbc.depot;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
|
||||
@@ -25,7 +25,6 @@ import com.samskivert.jdbc.depot.operator.SQLOperator.BinaryOperator;
|
||||
|
||||
/**
|
||||
* A convenient container for implementations of arithmetic operators. Classes that value brevity
|
||||
* over disambiguation will import Arithmetic.* and construct queries with Add() and Sub(); classes
|
||||
* that feel otherwise will use Arithmetic.Add() and Arithmetic.Sub().
|
||||
*/
|
||||
public abstract class Arithmetic
|
||||
|
||||
@@ -30,7 +30,6 @@ import com.samskivert.jdbc.depot.expression.SQLExpression;
|
||||
|
||||
/**
|
||||
* A convenient container for implementations of conditional operators. Classes that value brevity
|
||||
* over disambiguation will import Conditionals.* and construct queries with Equals() and In();
|
||||
* classes that feel otherwise will use Conditionals.Equals() and Conditionals.In().
|
||||
*/
|
||||
public abstract class Conditionals
|
||||
|
||||
@@ -28,7 +28,6 @@ import com.samskivert.jdbc.depot.expression.SQLExpression;
|
||||
|
||||
/**
|
||||
* A convenient container for implementations of logical operators. Classes that value brevity
|
||||
* over disambiguation will import Logic.* and construct queries with And() and Not(); classes that
|
||||
* feel otherwise will use Logic.And() and Logic.Not().
|
||||
*/
|
||||
public abstract class Logic
|
||||
|
||||
@@ -31,7 +31,6 @@ import java.io.StringWriter;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.samskivert.jdbc.jora;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ import java.util.*;
|
||||
import java.sql.*;
|
||||
import java.lang.reflect.*;
|
||||
|
||||
import com.samskivert.jdbc.JDBCUtil;
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,7 +28,6 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import com.samskivert.util.RunAnywhere;
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
/**
|
||||
* Attempts to find all the MAC addresses on the machine.
|
||||
|
||||
@@ -28,16 +28,12 @@ import java.sql.Statement;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.Iterator;
|
||||
import java.util.Properties;
|
||||
|
||||
import com.samskivert.io.PersistenceException;
|
||||
import com.samskivert.jdbc.ConnectionProvider;
|
||||
import com.samskivert.jdbc.DatabaseLiaison;
|
||||
import com.samskivert.jdbc.JDBCUtil;
|
||||
import com.samskivert.jdbc.JORARepository;
|
||||
import com.samskivert.jdbc.StaticConnectionProvider;
|
||||
import com.samskivert.jdbc.jora.Cursor;
|
||||
import com.samskivert.jdbc.jora.FieldMask;
|
||||
import com.samskivert.jdbc.jora.Table;
|
||||
import com.samskivert.util.HashIntMap;
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.swing;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
|
||||
|
||||
@@ -106,7 +106,6 @@ public class ObjectEditorTable extends JTable
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Construct a table to display the specified class.
|
||||
*
|
||||
|
||||
@@ -22,7 +22,6 @@ package com.samskivert.swing;
|
||||
|
||||
import java.awt.Component;
|
||||
import javax.swing.JLayeredPane;
|
||||
import javax.swing.Popup;
|
||||
|
||||
/**
|
||||
* A JLayeredPane that removes all popups when a non-popup component is removed.
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.swing;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Composite;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.RenderingHints;
|
||||
|
||||
@@ -24,8 +24,6 @@ import java.io.Serializable;
|
||||
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.RandomAccess;
|
||||
|
||||
|
||||
@@ -122,7 +122,6 @@ public class CollectionUtil
|
||||
return subset;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* If a collection contains only <code>Integer</code> objects, it can be
|
||||
* passed to this function and converted into an int array.
|
||||
|
||||
@@ -27,9 +27,7 @@ import java.io.Serializable;
|
||||
|
||||
import java.util.AbstractMap;
|
||||
import java.util.AbstractSet;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Set;
|
||||
|
||||
|
||||
@@ -57,7 +57,6 @@ public class IntIntMap
|
||||
*/
|
||||
public final static float DEFAULT_LOAD_FACTOR = 1.75f;
|
||||
|
||||
|
||||
public IntIntMap (int buckets, float loadFactor)
|
||||
{
|
||||
_buckets = new Record[buckets];
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
||||
import static com.samskivert.Log.log;
|
||||
|
||||
|
||||
@@ -23,11 +23,8 @@ package com.samskivert.util;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.beans.PropertyChangeSupport;
|
||||
import java.security.AccessControlException;
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Properties;
|
||||
|
||||
import java.util.prefs.AbstractPreferences;
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
package com.samskivert.util;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
|
||||
@@ -38,11 +38,9 @@ import java.text.NumberFormat;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Enumeration;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.Locale;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
@@ -20,15 +20,12 @@
|
||||
|
||||
package com.samskivert.velocity;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
|
||||
import org.apache.velocity.exception.ParseErrorException;
|
||||
import org.apache.velocity.exception.ResourceNotFoundException;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.runtime.resource.Resource;
|
||||
import org.apache.velocity.runtime.resource.ResourceFactory;
|
||||
import org.apache.velocity.runtime.resource.ResourceManagerImpl;
|
||||
import org.apache.velocity.runtime.resource.loader.ResourceLoader;
|
||||
|
||||
/**
|
||||
* A resource manager implementation for Velocity that loads resources from the servlet context.
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
package com.samskivert.velocity;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
package com.samskivert.velocity;
|
||||
|
||||
import org.apache.velocity.VelocityContext;
|
||||
import org.apache.velocity.app.VelocityEngine;
|
||||
import org.apache.velocity.runtime.RuntimeServices;
|
||||
import org.apache.velocity.runtime.log.LogChute;
|
||||
|
||||
Reference in New Issue
Block a user