Some updates to get around a couple warnings

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@406224 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2006-05-14 03:38:55 +00:00
parent c64c2ca062
commit b38bdc89cc
16 changed files with 2 additions and 28 deletions

View File

@ -17,8 +17,6 @@ package org.apache.openjpa.lib.jdbc;
import java.sql.*;
import java.util.*;
import javax.sql.*;
import org.apache.openjpa.lib.log.*;

View File

@ -23,7 +23,6 @@ import java.sql.*;
import java.sql.Date;
import java.util.*;
import org.apache.openjpa.lib.util.*;
import org.apache.openjpa.lib.util.Closeable;

View File

@ -20,7 +20,6 @@ import java.io.*;
import java.sql.*;
import javax.sql.*;
import org.apache.openjpa.lib.util.*;
import org.apache.openjpa.lib.util.Closeable;

View File

@ -16,9 +16,7 @@
package org.apache.openjpa.lib.jdbc;
import java.io.*;
import java.sql.*;
import java.util.*;
/**

View File

@ -23,7 +23,6 @@ import java.sql.*;
import java.sql.Date;
import java.util.*;
import org.apache.openjpa.lib.util.*;
import org.apache.openjpa.lib.util.Closeable;

View File

@ -23,7 +23,6 @@ import java.sql.*;
import java.sql.Date;
import java.util.*;
import org.apache.openjpa.lib.util.*;
import org.apache.openjpa.lib.util.Closeable;

View File

@ -17,9 +17,6 @@ package org.apache.openjpa.lib.jdbc;
import java.sql.*;
import javax.sql.*;
import java.util.*;
import org.apache.openjpa.lib.util.*;

View File

@ -21,8 +21,6 @@ import java.math.*;
import java.sql.*;
import java.sql.Date;
import java.util.*;
import javax.sql.*;
import org.apache.openjpa.lib.log.*;

View File

@ -16,9 +16,6 @@
package org.apache.openjpa.lib.log;
import java.util.*;
/**
* {@link LogFactory} implementation that delegates to the commons logging
* framework.

View File

@ -16,8 +16,6 @@
package org.apache.openjpa.lib.log;
import java.util.*;
import org.apache.log4j.*;

View File

@ -19,8 +19,6 @@ package org.apache.openjpa.lib.log;
import java.io.*;
import java.util.*;
import org.apache.openjpa.lib.log.*;
/**
* <p>Many standard components log to {@link OutputStream}s.

View File

@ -18,9 +18,6 @@ package org.apache.openjpa.lib.rop;
import java.io.*;
import java.util.*;
import java.util.NoSuchElementException; // for javadoc; bug #4330419
import org.apache.openjpa.lib.util.*;
import org.apache.openjpa.lib.util.Closeable;

View File

@ -513,7 +513,6 @@ public class FormatPreservingProperties
throws IOException
{
boolean endWithNewline = source != null && source.endsInNewline;
boolean firstLine = true;
// Must be ISO-8859-1 ecoding according to Properties.load javadoc
PrintWriter writer = new PrintWriter

View File

@ -17,7 +17,6 @@ package org.apache.openjpa.lib.util;
import java.lang.reflect.*;
import java.util.*;
/**

View File

@ -331,7 +331,7 @@ public class Options
// setter with more than 1 arg is ignored; calc setter and getter
// name to look for
String[] find = Strings.split (key, ".", 2);
String base = StringUtils.capitalise (find[0]);
String base = StringUtils.capitalize (find[0]);
String set = "set" + base;
String get = "get" + base;
@ -372,7 +372,7 @@ public class Options
if (setter == null)
{
Field[] fields = type.getFields ();
String uncapBase = StringUtils.uncapitalise (find[0]);
String uncapBase = StringUtils.uncapitalize (find[0]);
for (int i = 0; i < fields.length; i++)
{
if (fields[i].getName ().equals (base)

View File

@ -43,7 +43,6 @@ class ZipResourceBundleProvider
return null;
ZipInputStream zip = new ZipInputStream (in);
ResourceBundle bundle = null;
try
{
ZipEntry ze;