openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r761509 [2/4] - in /openjpa/trunk: ./ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/conf/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/exps/ openjpa-jdbc/src/main/...
Date Fri, 03 Apr 2009 03:10:00 GMT
Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java Fri Apr  3 03:09:53 2009
@@ -399,7 +399,8 @@
                     // JDBC3-only method, so it might throw a 
                     // AbstractMethodError
                     isJDBC3 = metaData.getJDBCMajorVersion() >= 3;
-                    supportsGetGeneratedKeys = metaData.supportsGetGeneratedKeys();
+                    supportsGetGeneratedKeys =
+                            metaData.supportsGetGeneratedKeys();
                 } catch (Throwable t) {
                     // ignore if not JDBC3
                 }
@@ -1720,7 +1721,7 @@
      * 
      * @param typeName  The SQL type ie INT
      * @param size      The size clause ie (10)
-     * @return          The typeName + size clause. Usually the size clause will 
+     * @return          The typeName + size clause. Usually the size clause will
      *                  be appended to typeName. If the typeName contains a 
      *                  marker : {0} or if typeName contains a modifier the 
      *                  size clause will be inserted appropriately.   
@@ -2386,8 +2387,9 @@
             boolean distinct, boolean forUpdate, long start, long end,
             boolean subselect, boolean checkTableForUpdate) {
             return toOperation(getSelectOperation(fetch), selects, from, where,
-                group, having, order, distinct, start, end,
-                getForUpdateClause(fetch, forUpdate, null), subselect, checkTableForUpdate);
+                    group, having, order, distinct, start, end,
+                    getForUpdateClause(fetch, forUpdate, null), subselect,
+                    checkTableForUpdate);
         }
 
     /**
@@ -2460,10 +2462,10 @@
     /**
      * Return the SQL for the given selecting operation.
      */
-    private SQLBuffer toOperation(String op, SQLBuffer selects,
-        SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having,
-        SQLBuffer order, boolean distinct, long start, long end,
-        String forUpdateClause, boolean subselect, boolean checkTableForUpdate) {
+    private SQLBuffer toOperation(String op, SQLBuffer selects, SQLBuffer from,
+            SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order,
+            boolean distinct, long start, long end, String forUpdateClause,
+            boolean subselect, boolean checkTableForUpdate) {
         SQLBuffer buf = new SQLBuffer(this);
         buf.append(op);
 
@@ -4093,7 +4095,8 @@
     }
 
     private boolean isSupported() {
-        // if this is a custom dict, traverse to whatever openjpa dict it extends
+        // if this is a custom dict, traverse to whatever openjpa dict it
+        // extends
         Class c = getClass();
         while (!c.getName().startsWith("org.apache.openjpa."))
             c = c.getSuperclass();
@@ -4158,7 +4161,8 @@
         InputStream stream = getClass().getResourceAsStream(rsrc);
         String dictionaryClassName = getClass().getName();
         if (stream == null) { // User supplied dictionary but no error codes xml
-        	stream = DBDictionary.class.getResourceAsStream(rsrc); // use default
+            // use default
+            stream = DBDictionary.class.getResourceAsStream(rsrc);
         	dictionaryClassName = getClass().getSuperclass().getName();
         }
         codeReader.parse(stream, dictionaryClassName, this);
@@ -4614,7 +4618,8 @@
      * This method is to provide override for non-JDBC or JDBC-like 
      * implementation of executing query.
      */
-    protected ResultSet executeQuery(Connection conn, PreparedStatement stmnt, String sql 
+    protected ResultSet executeQuery(Connection conn, PreparedStatement stmnt,
+            String sql 
         ) throws SQLException {
         return stmnt.executeQuery();
     }

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java Fri Apr  3 03:09:53 2009
@@ -48,7 +48,7 @@
         substringFunctionName = "SUBSTR";
 
         // Derby name length restriction has been relaxed 
-        // http://www.archivum.info/derby-dev@db.apache.org/2004-12/msg00270.html
+        //http://www.archivum.info/derby-dev@db.apache.org/2004-12/msg00270.html
         maxConstraintNameLength = 128;
         maxIndexNameLength = 128;
         maxColumnNameLength = 128;
@@ -113,7 +113,8 @@
         int errorCode = ex.getErrorCode();
         if (errorStates.contains(errorState)) {
             recoverable = Boolean.FALSE;
-            if ((subtype == StoreException.LOCK || subtype == StoreException.QUERY) && errorCode < 30000) {
+            if ((subtype == StoreException.LOCK ||
+                    subtype == StoreException.QUERY) && errorCode < 30000) {
                 recoverable = Boolean.TRUE;
             }
         }

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java Fri Apr  3 03:09:53 2009
@@ -162,7 +162,8 @@
             else
                 driverVendor = VENDOR_OTHER;
             
-            if (driverName.equals("IBM DB2 JDBC Universal Driver Architecture")) { 
+            if (driverName.equals("IBM DB2 JDBC Universal Driver Architecture"))
+            { 
                 useJCC = true;
                 try {
                     if (meta.storesLowerCaseIdentifiers()) 

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java Fri Apr  3 03:09:53 2009
@@ -58,7 +58,8 @@
         (PostgresDictionary.class);
 
     private static Class<PostgresConnection> postgresConnectionImpl;
-    private static Class<PostgresPreparedStatement> postgresPreparedStatementImpl;
+    private static Class<PostgresPreparedStatement>
+            postgresPreparedStatementImpl;
 
     static {
         try {
@@ -378,7 +379,7 @@
             .getConnection();
             try {
                 conn.setAutoCommit(false);
-                PGConnection pgconn = (PGConnection) conn.getInnermostDelegate();
+                PGConnection pgconn = (PGConnection)conn.getInnermostDelegate();
                 LargeObjectManager lom = pgconn.getLargeObjectAPI();
                 // The create method is valid in versions previous 8.3
                 // in 8.3 this methos is deprecated, use createLO

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PrimaryRow.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PrimaryRow.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PrimaryRow.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PrimaryRow.java Fri Apr  3 03:09:53 2009
@@ -343,8 +343,8 @@
             	} else if (!isDefaultValue(val)) {
             		throw new InvalidStateException(_loc.get("diff-values",
             				new Object[]{ col.getFullName(),
-            				(prev == null) ? null : prev.getClass(), prev,
-            				(val == null) ? null : val.getClass(), val })).
+                            (prev == null) ? null : prev.getClass(), prev,
+                            (val == null) ? null : val.getClass(), val })).
             				setFatal(true);
             	} else {
             	    // since not allow to update and the new value is 0 or null,

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Result.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Result.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Result.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Result.java Fri Apr  3 03:09:53 2009
@@ -350,9 +350,9 @@
      * Return the value stored in the given column or id.
      *
      * @param obj the column or id whose data to fetch
-     * @param metaType the type code from {@link org.apache.openjpa.meta.JavaTypes} or
-     * {@link JavaSQLTypes} for the type of the data; if
-     * <code>obj</code> is a column, you may specify -1
+     * @param metaType the type code from
+     * {@link org.apache.openjpa.meta.JavaTypes} or {@link JavaSQLTypes} for the
+     * type of the data; if <code>obj</code> is a column, you may specify -1
      * to use the column's recorded java type
      * @param arg some JDBC data access methods use an argument, such
      * as a {@link Calendar} or {@link Map}

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Row.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Row.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Row.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Row.java Fri Apr  3 03:09:53 2009
@@ -41,8 +41,8 @@
 
 /**
  * Logical representation of a table row for insert/update/delete. The
- * {@link org.apache.openjpa.jdbc.kernel.UpdateManager} is responsible for implementing
- * rows to do something useful when the values are set.
+ * {@link org.apache.openjpa.jdbc.kernel.UpdateManager} is responsible for
+ * implementing rows to do something useful when the values are set.
  *
  * @author Abe White
  */

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLBuffer.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLBuffer.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLBuffer.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLBuffer.java Fri Apr  3 03:09:53 2009
@@ -258,7 +258,7 @@
      * Append a user parameter value for a specific column. User parameters
      * are marked as opposed to the parameters inserted by the internal runtime
      * system. This helps to reuse the buffer by reparmeterizing it with new
-     * set of user parameters while the 'internal' parameters remain unchanged.  
+     * set of user parameters while the 'internal' parameters remain unchanged.
      * 
      * @param userParam if non-null, designates a 'user' parameter.
      */

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLErrorCodeReader.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLErrorCodeReader.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLErrorCodeReader.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLErrorCodeReader.java Fri Apr  3 03:09:53 2009
@@ -54,9 +54,9 @@
 		new HashMap<String, Integer>();
 	static {
 		storeErrorTypes.put("lock", StoreException.LOCK);
-		storeErrorTypes.put("object-exists", StoreException.OBJECT_EXISTS);
-		storeErrorTypes
-				.put("object-not-found", StoreException.OBJECT_NOT_FOUND);
+        storeErrorTypes.put("object-exists", StoreException.OBJECT_EXISTS);
+        storeErrorTypes.put("object-not-found",
+                StoreException.OBJECT_NOT_FOUND);
 		storeErrorTypes.put("optimistic", StoreException.OPTIMISTIC);
 		storeErrorTypes.put("referential-integrity",
 				StoreException.REFERENTIAL_INTEGRITY);
@@ -72,7 +72,7 @@
 		try {
 			Document doc = builder.parse(in);
 			Element root = doc.getDocumentElement();
-			NodeList nodes = root.getElementsByTagName("dictionary");
+            NodeList nodes = root.getElementsByTagName("dictionary");
 			for (int i = 0; i < nodes.getLength(); i++) {
 				Node node = nodes.item(i);
 				NamedNodeMap attrs = node.getAttributes();
@@ -96,8 +96,8 @@
 	}
 
 	/**
-	 * Parses given stream of XML content for error codes of the given database
-	 * dictionary name. Populates the given dictionary with the error codes.
+     * Parses given stream of XML content for error codes of the given database
+     * dictionary name. Populates the given dictionary with the error codes.
 	 * 
 	 */
 	public void parse(InputStream in, String dictName, DBDictionary dict) {
@@ -108,13 +108,13 @@
 		try {
 			Document doc = builder.parse(in);
 			Element root = doc.getDocumentElement();
-			NodeList nodes = root.getElementsByTagName("dictionary");
+            NodeList nodes = root.getElementsByTagName("dictionary");
 			for (int i = 0; i < nodes.getLength(); i++) {
 				Node node = nodes.item(i);
 				NamedNodeMap attrs = node.getAttributes();
 				Node dictionary = attrs.getNamedItem("class");
 				if (dictionary != null 
-				 && dictionary.getNodeValue().equals(dictName)) {
+                        && dictionary.getNodeValue().equals(dictName)) {
 					readErrorCodes(node, dict);
 				}
 			}
@@ -139,13 +139,13 @@
 			if (nodeType == Node.ELEMENT_NODE) {
 				String errorType = child.getNodeName();
 				Node textNode = child.getFirstChild();
-				if (storeErrorTypes.containsKey(errorType) && textNode != null){
-					String errorCodes = textNode.getNodeValue();
-					if (!StringUtils.isEmpty(errorCodes)) {
-						String[] codes = errorCodes.split(ERROR_CODE_DELIMITER);
-						for (String code : codes) {
-							dict.addErrorCode(storeErrorTypes.get(errorType),
-									code.trim());
+                if (storeErrorTypes.containsKey(errorType) && textNode != null){
+                    String errorCodes = textNode.getNodeValue();
+                    if (!StringUtils.isEmpty(errorCodes)) {
+                        String[] codes = errorCodes.split(ERROR_CODE_DELIMITER);
+                        for (String code : codes) {
+                            dict.addErrorCode(storeErrorTypes.get(errorType),
+                                    code.trim());
 						}
 					}
 				}

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLServerDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLServerDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLServerDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLServerDictionary.java Fri Apr  3 03:09:53 2009
@@ -141,7 +141,8 @@
     
     protected void appendLength(SQLBuffer buf, int type) {
         if (type == Types.VARCHAR)
-            buf.append("(").append(Integer.toString(characterColumnSize)).append(")");
+            buf.append("(").append(Integer.toString(characterColumnSize)).
+                    append(")");
     }
 
     /**

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Select.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Select.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Select.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/Select.java Fri Apr  3 03:09:53 2009
@@ -487,7 +487,8 @@
      * Add an ORDER BY clause.
      * Optionally selects ordering data if not already selected.
      */
-    public boolean orderBy(SQLBuffer sql, boolean asc, boolean sel, Value selAs);
+    public boolean orderBy(SQLBuffer sql, boolean asc, boolean sel,
+            Value selAs);
 
     /**
      * Add an ORDER BY clause.

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SelectImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SelectImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SelectImpl.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SelectImpl.java Fri Apr  3 03:09:53 2009
@@ -322,7 +322,8 @@
             stmnt = prepareStatement(conn, sql, null, 
                 ResultSet.TYPE_FORWARD_ONLY, 
                 ResultSet.CONCUR_READ_ONLY, false);
-            _dict.setQueryTimeout(stmnt, store.getFetchConfiguration().getQueryTimeout());
+            _dict.setQueryTimeout(stmnt,
+                    store.getFetchConfiguration().getQueryTimeout());
             rs = executeQuery(conn, stmnt, sql, false, store);
             return getCount(rs);
         } finally {
@@ -1220,7 +1221,8 @@
         return seld;
     }
 
-    public boolean orderBy(SQLBuffer sql, boolean asc, boolean sel, Value selAs) {
+    public boolean orderBy(SQLBuffer sql, boolean asc, boolean sel, Value selAs)
+    {
         return orderBy(sql, asc, (Joins) null, sel, selAs);
     }
 
@@ -1407,7 +1409,8 @@
         int count = 0;
         for (int i = 0; i < toCols.length; i++, count++) {
             if (pks == null)
-                val = (oid == null) ? null : Numbers.valueOf(((Id) oid).getId());
+                val = (oid == null) ? null :
+                        Numbers.valueOf(((Id) oid).getId());
             else {
                 // must be app identity; use pk index to get correct pk value
                 join = mapping.assertJoinable(toCols[i]);

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java Fri Apr  3 03:09:53 2009
@@ -151,8 +151,8 @@
             "USER_OPTION", "WAITFOR", "WHILE", "WRITETEXT",
         }));
 
-        // Sybase does not support foreign key delete/update action NULL, DEFAULT,
-        // CASCADE
+        // Sybase does not support foreign key delete/update action NULL,
+        // DEFAULT, CASCADE
         supportsNullDeleteAction = false;
         supportsDefaultDeleteAction = false;
         supportsCascadeDeleteAction = false;

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/CacheMarshaller.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/CacheMarshaller.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/CacheMarshaller.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/CacheMarshaller.java Fri Apr  3 03:09:53 2009
@@ -58,9 +58,10 @@
     /**
      * The {@link ValidationPolicy} that this marshaller should use.
      * A value for this parameter is required. The class will be instantiated
-     * via the {@link org.apache.openjpa.lib.conf.Configurations} mechanism, ensuring that if the class
-     * implements {@link Configurable} or {@link org.apache.openjpa.lib.conf.GenericConfigurable}, it will
-     * be taken through the appropriate lifecycle.
+     * via the {@link org.apache.openjpa.lib.conf.Configurations} mechanism,
+     * ensuring that if the class implements {@link Configurable} or
+     * {@link org.apache.openjpa.lib.conf.GenericConfigurable}, it will be taken
+     * through the appropriate lifecycle.
      */
     public void setValidationPolicy(String policy)
         throws InstantiationException, IllegalAccessException;

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfiguration.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfiguration.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfiguration.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfiguration.java Fri Apr  3 03:09:53 2009
@@ -220,7 +220,7 @@
     public String getSpecification();
     
     /**
-     * Get the Specification. Specification determines various important default 
+     * Get the Specification. Specification determines various important default
      * behaviors.
      * 
      * @since 2.0.0

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java Fri Apr  3 03:09:53 2009
@@ -1545,7 +1545,8 @@
     
     public PreparedQueryCache getQuerySQLCacheInstance() {
         if (preparedQueryCachePlugin.get() == null) {
-            preparedQueryCachePlugin.instantiate(PreparedQueryCache.class, this);
+            preparedQueryCachePlugin.instantiate(PreparedQueryCache.class,
+                    this);
         }
         return (PreparedQueryCache)preparedQueryCachePlugin.get();
     }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java Fri Apr  3 03:09:53 2009
@@ -378,7 +378,8 @@
 
     /**
      * Updates the entity timestamp map with the current time in milliseconds
-     * @param timestampMap -- a map that contains entityname and its last updated timestamp
+     * @param timestampMap -- a map that contains entityname and its last
+     * updated timestamp
      */
     protected void updateEntityTimestamp(Map<String,Long> timestampMap) {
         if (entityTimestampMap != null)

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatistics.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatistics.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatistics.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatistics.java Fri Apr  3 03:09:53 2009
@@ -72,18 +72,18 @@
 	public long getTotalWriteCount();
 
 	/**
-	 * Gets number of total read requests for the given class since last reset.
+     * Gets number of total read requests for the given class since last reset.
 	 */
 	public long getReadCount(Class c);
 
 	/**
-	 * Gets number of total read requests that has been found in cache for the
+     * Gets number of total read requests that has been found in cache for the
 	 * given class since last reset.
 	 */
 	public long getHitCount(Class c);
 
 	/**
-	 * Gets number of total write requests for the given class since last reset.
+     * Gets number of total write requests for the given class since last reset.
 	 */
 	public long getWriteCount(Class c);
 
@@ -93,7 +93,7 @@
 	public long getTotalReadCount(Class c);
 
 	/**
-	 * Gets number of total read requests that has been found in cache for the
+     * Gets number of total read requests that has been found in cache for the
 	 * given class since start.
 	 */
 	public long getTotalHitCount(Class c);
@@ -125,8 +125,8 @@
 	public static class Default implements CacheStatistics {
 		private long[] astat = new long[3];
 		private long[] stat  = new long[3];
-		private Map<Class, long[]> stats  = new HashMap<Class, long[]>();
-		private Map<Class, long[]> astats = new HashMap<Class, long[]>();
+        private Map<Class, long[]> stats  = new HashMap<Class, long[]>();
+        private Map<Class, long[]> astats = new HashMap<Class, long[]>();
 		private Date start = new Date();
 		private Date since = new Date();
 
@@ -182,7 +182,7 @@
 			return getCount(astats, c, WRITE);
 		}
 		
-		private long getCount(Map<Class, long[]> target, Class c, int index) {
+        private long getCount(Map<Class, long[]> target, Class c, int index) {
 			long[] row = target.get(c);
 			return (row == null) ? 0 : row[index];
 		}
@@ -221,7 +221,7 @@
 			addSample(astats, c, index);
 		}
 		
-		private void addSample(Map<Class, long[]> target, Class c, int index) {
+        private void addSample(Map<Class, long[]> target, Class c, int index) {
 			long[] row = target.get(c);
 			if (row == null) {
 				row = new long[3];

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCachePCDataImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCachePCDataImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCachePCDataImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCachePCDataImpl.java Fri Apr  3 03:09:53 2009
@@ -122,7 +122,8 @@
 
     /**
      * Store field-level information from the given state manager.
-     * Special process of checking if the cached collection data is out of order.
+     * Special process of checking if the cached collection data is out of
+     * order.
      */
     protected void storeField(OpenJPAStateManager sm, FieldMetaData fmd) {
         if (fmd.getManagement() != fmd.MANAGE_PERSISTENT)

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ApplicationIdTool.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ApplicationIdTool.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ApplicationIdTool.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ApplicationIdTool.java Fri Apr  3 03:09:53 2009
@@ -1475,7 +1475,7 @@
     public static interface ObjectIdLoader
 	{
 		/**
-		 * Turn on the loading of all identity classes, even if they don't 
+         * Turn on the loading of all identity classes, even if they don't
          * exist.
 	 	 */
 		public void setLoadObjectIds ();

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java Fri Apr  3 03:09:53 2009
@@ -141,7 +141,8 @@
             // reconfiguration at the end of this method.
             ClassMetaData meta = enhancer.getMetaData();
             if (meta == null) {
-                throw new MetaDataException(_loc.get("no-meta", cls)).setFatal(true);
+                throw new MetaDataException(_loc.get("no-meta", cls)).
+                        setFatal(true);
             }
             configureMetaData(meta, conf, redefine, false);
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java Fri Apr  3 03:09:53 2009
@@ -210,8 +210,8 @@
         // if (type == null) {
         // 		try {
         // 			type = Class.forName
-        // 				(meta.getDescribedType().getName(), true,
-        // 				Thread.currentThread().getContextClassLoader());
+        // 	            (meta.getDescribedType().getName(), true,
+        // 	            Thread.currentThread().getContextClassLoader());
         // 		} catch (ClassNotFoundException cnfe) {
         // 			throw new InternalException();
         // 		}

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java Fri Apr  3 03:09:53 2009
@@ -2493,7 +2493,8 @@
             code.dup();
             if(_meta.isEmbeddedOnly()) {
                 code.aload().setThis();
-                code.invokevirtual().setMethod(Object.class, "getClass", Class.class, null);
+                code.invokevirtual().setMethod(Object.class, "getClass",
+                        Class.class, null);
             }else
                 code.classconstant().setClass(getType(_meta));
         }
@@ -2501,10 +2502,12 @@
         // new <oid class> ();
         code.anew().setType(oidType);
         code.dup();
-        if (_meta.isOpenJPAIdentity() || (obj && usesClsString == Boolean.TRUE)) {
+        if (_meta.isOpenJPAIdentity() || (obj && usesClsString ==
+                    Boolean.TRUE)) {
             if(_meta.isEmbeddedOnly()) {
                 code.aload().setThis();
-                code.invokevirtual().setMethod(Object.class, "getClass", Class.class, null);
+                code.invokevirtual().setMethod(Object.class, "getClass",
+                        Class.class, null);
             }else
                 code.classconstant().setClass(getType(_meta));
         }
@@ -3069,7 +3072,7 @@
         }
 
         // if (sm != null)
-        //		return (sm.isDetached ()) ? Boolean.TRUE : Boolean.FALSE;
+        //     return (sm.isDetached ()) ? Boolean.TRUE : Boolean.FALSE;
         loadManagedInstance(code, false);
         code.getfield().setField(SM, SMTYPE);
         JumpInstruction ifins = code.ifnull();

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCSubclassValidator.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCSubclassValidator.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCSubclassValidator.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCSubclassValidator.java Fri Apr  3 03:09:53 2009
@@ -47,28 +47,28 @@
  * 		<li>must not extend an enhanced class</li>
  *		<li>all persistent data represented by accessible setter/getter
  * 			methods (persistent properties)</li>
- * 		<li>if versioning is to be used, exactly one persistent property for
- * 			the numeric version data</li> <!-- ##### is this true? -->
+ * 	    <li>if versioning is to be used, exactly one persistent property for
+ *          the numeric version data</li> <!-- ##### is this true? -->
  *
- * 		<li>When using property access, the backing field for a persistent
+ *      <li>When using property access, the backing field for a persistent
  *          property must be:
  * 			<ul>
- * 				<!-- ##### JPA validation of these needs to be tested -->
+ *              <!-- ##### JPA validation of these needs to be tested -->
  * 				<li>private</li>
  * 				<li>set only in the designated setter,
- * 					in the constructor, or in {@link Object#clone()},
- * 					<code>readObject(ObjectInputStream)</code>, or
- * 					{@link Externalizable#readExternal(ObjectInput)}.</li>
+ * 	                in the constructor, or in {@link Object#clone()},
+ *                  <code>readObject(ObjectInputStream)</code>, or
+ * 	                {@link Externalizable#readExternal(ObjectInput)}.</li>
  * 				<li>read only in the designated getter and the
  * 					constructor.</li>
  *			</ul>
  * 		</li>
  * 	</ul>
  *
- * 	<p>If you use this technique and use the <code>new</code> keyword instead of
- * 	a OpenJPA-supplied construction routine, OpenJPA will need to do extra work
- *  with persistent-new-flushed instances, since OpenJPA cannot in this case
- *  track what happens to such an instance.</p>
+ *  <p>If you use this technique and use the <code>new</code> keyword instead
+ *  of a OpenJPA-supplied construction routine, OpenJPA will need to do extra
+ *  work with persistent-new-flushed instances, since OpenJPA cannot in this
+ *  case track what happens to such an instance.</p>
  *
  * 	@since 1.0.0
  */

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/JMSRemoteCommitProvider.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/JMSRemoteCommitProvider.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/JMSRemoteCommitProvider.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/JMSRemoteCommitProvider.java Fri Apr  3 03:09:53 2009
@@ -226,7 +226,7 @@
                     } else {
                     	if (log.isWarnEnabled())
                     		log.warn(s_loc.get("jms-receive-error-2",
-                    				o.getClass().getName(), _topicName));
+                                    o.getClass().getName(), _topicName));
                     }
                 } catch (JMSException jmse) {
                     if (log.isWarnEnabled())

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/LogOrphanedKeyAction.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/LogOrphanedKeyAction.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/LogOrphanedKeyAction.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/LogOrphanedKeyAction.java Fri Apr  3 03:09:53 2009
@@ -41,14 +41,16 @@
     private short _level = Log.WARN;
 
     /**
-     * The channel to log to. Defaults to <code>org.apache.openjpa.Runtime</code>.
+     * The channel to log to. Defaults to
+     * <code>org.apache.openjpa.Runtime</code>.
      */
     public String getChannel() {
         return _channel;
     }
 
     /**
-     * The channel to log to. Defaults to <code>org.apache.openjpa.Runtime</code>.
+     * The channel to log to. Defaults to
+     * <code>org.apache.openjpa.Runtime</code>.
      */
     public void setChannel(String channel) {
         _channel = channel;

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitListener.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitListener.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitListener.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitListener.java Fri Apr  3 03:09:53 2009
@@ -31,7 +31,8 @@
  * <code><pre> import org.apache.openjpa.event.*;
  * import org.apache.openjpa.conf.*;
  * 
- * {@link org.apache.openjpa.conf.OpenJPAConfiguration} conf = factory.getConfiguraiton ();
+ * {@link org.apache.openjpa.conf.OpenJPAConfiguration} conf =
+ *         factory.getConfiguraiton ();
  *  RemoteCommitListener l = new RemoteCommitListener () {
  * public void afterCommit ({@link RemoteCommitEvent} e) {
  * // update a Swing widget when remote brokers make

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java Fri Apr  3 03:09:53 2009
@@ -410,7 +410,8 @@
 
     public void popFetchConfiguration() {
         if (_fcs == null || _fcs.isEmpty())
-            throw new UserException(_loc.get("fetch-configuration-stack-empty"));
+            throw new UserException(
+                    _loc.get("fetch-configuration-stack-empty"));
         _fc = (FetchConfiguration) _fcs.removeLast();
     }
 
@@ -4359,7 +4360,8 @@
     public boolean isPersistent(Object obj) {
         assertOpen();
         if (ImplHelper.isManageable(obj))
-            return (ImplHelper.toPersistenceCapable(obj, _conf)).pcIsPersistent();
+            return (ImplHelper.toPersistenceCapable(obj, _conf)).
+                    pcIsPersistent();
         return false;
     }
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachManager.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachManager.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachManager.java Fri Apr  3 03:09:53 2009
@@ -860,7 +860,7 @@
             } else {
                 for (Iterator itr = map.entrySet().iterator(); itr.hasNext();) {
                     entry = (Map.Entry) itr.next ();
-					entry.setValue (detachInternal (entry.getValue ()));
+                    entry.setValue (detachInternal (entry.getValue ()));
 				}
 			}
 		}

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateManager.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateManager.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/DetachedStateManager.java Fri Apr  3 03:09:53 2009
@@ -405,8 +405,8 @@
 
     public void accessingField(int idx) {
         if (!_access && !_loaded.get(idx))
-        	// do not access the pc fields by implictly invoking _pc.toString()
-        	// may cause infinite loop if again tries to access unloaded field 
+            // do not access the pc fields by implictly invoking _pc.toString()
+            // may cause infinite loop if again tries to access unloaded field 
             throw new IllegalStateException(_loc.get("unloaded-detached",
                Exceptions.toString(_pc)).getMessage());
     }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java Fri Apr  3 03:09:53 2009
@@ -338,7 +338,7 @@
 	public Object getHint (String name);
 	
 	/**
-	 * Returns an immutable view of the currently active hints and their values. 
+     * Returns an immutable view of the currently active hints and their values.
 	 * 
 	 * @since 2.0.0
 	 */

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FinderCache.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FinderCache.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FinderCache.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FinderCache.java Fri Apr  3 03:09:53 2009
@@ -32,9 +32,9 @@
  * 
  * A cached query by an identifier of parameterized type K. 
  * 
- * A query can be cached by an identifier and value represented by parameterized 
- * type V. Caching results in creating a new instance of FinderQuery FQ from the 
- * value V such that FQ can be executed to return a result of parameterized type 
+ * A query can be cached by an identifier and value represented by parameterized
+ * type V. Caching results in creating a new instance of FinderQuery FQ from the
+ * value V such that FQ can be executed to return a result of parameterized type
  * R. A request to cache may not be successful if this cache determines the 
  * value V to be not cachable.
  * 
@@ -51,8 +51,8 @@
  * execution context changes in a way that will modify the resultant database 
  * language query FQ.
  * 
- * One of the built-in mechanism (available in JPA facade) is to set query hints 
- * to either invalidate the query entirely or ignore the cached version for the 
+ * One of the built-in mechanism (available in JPA facade) is to set query hints
+ * to either invalidate the query entirely or ignore the cached version for the
  * current execution. 
  * 
  * @see QueryHints#HINT_IGNORE_FINDER
@@ -124,7 +124,7 @@
 	public List<String> getExcludes();
 	
 	/**
-	 * Adds the given pattern to the list of excluded patterns. Any existing 
+     * Adds the given pattern to the list of excluded patterns. Any existing
 	 * cache entry whose key matches the given pattern will be marked 
 	 * non-cachable in a reversible manner. 
 	 */

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/InMemorySavepointManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/InMemorySavepointManager.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/InMemorySavepointManager.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/InMemorySavepointManager.java Fri Apr  3 03:09:53 2009
@@ -59,7 +59,7 @@
     }
 
     public boolean supportsIncrementalFlush() {
-        //	cannot incrementally flush as saved fields may become out of synch.
+        // cannot incrementally flush as saved fields may become out of synch.
         return false;
 	}
 }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQuery.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQuery.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQuery.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQuery.java Fri Apr  3 03:09:53 2009
@@ -83,7 +83,7 @@
 	/**
 	 * Initialize from the given argument.  
 	 * 
-	 * @param o an opaque instance supposed to carry post-execution data such
+     * @param o an opaque instance supposed to carry post-execution data such
 	 * as target database query, parameters of the query etc.
 	 * 
 	 * @return true if this receiver can initialize itself from the given
@@ -97,7 +97,7 @@
 	public boolean isInitialized();
 	
 	/**
-	 * Get the list of parameters in a map where an entry represents a parameter
+     * Get the list of parameters in a map where an entry represents a parameter
 	 * key and value after replacing with the given user parameters. 
 	 * 
 	 * Must be invoked after initialize().  

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQueryCache.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQueryCache.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQueryCache.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PreparedQueryCache.java Fri Apr  3 03:09:53 2009
@@ -46,7 +46,7 @@
  * execution context changes in a way that will modify the resultant database 
  * language query PQ.
  * 
- * One of the built-in mechanism (available in JPA facade) is to set query hints 
+ * One of the built-in mechanism (available in JPA facade) is to set query hints
  * to either invalidate the query entirely or ignore the cached version for the 
  * current execution. 
  * 
@@ -55,7 +55,8 @@
  * 
  * This cache allows customization of whether a query can be cached or not
  * via either explicit marking of certain keys as non-cachable (which is 
- * irreversible) or addition/removal of exclusion patterns (which is reversible).
+ * irreversible) or addition/removal of exclusion patterns (which is
+ * reversible).
  * 
  * @see #markUncachable(String)
  * @see #addExclusionPattern(String)
@@ -108,7 +109,7 @@
 	 * The query must not be cached if either the key matches any exclusion
 	 * pattern or the key has been marked non-cachable.
 	 * 
-	 * @return true if the given query is cached. false if it can not be cached
+     * @return true if the given query is cached. false if it can not be cached
 	 * due to exclusion.
 	 * 
 	 * @see #markUncachable(String)
@@ -131,10 +132,10 @@
 	/**
 	 * Affirms if a PreparedQuery can be cached against the given key.
 	 * 
-	 * @return Boolean.FALSE if the given key is explicitly marked before as not
+     * @return Boolean.FALSE if the given key is explicitly marked before as not
 	 * be cached or matches any of the exclusion patterns. 
 	 * Boolean.TRUE if the given key currently exists in the cache. 
-	 * Otherwise, return null implying this receiver can not determine whether
+     * Otherwise, return null implying this receiver can not determine whether
 	 * this key can be cached on not. 
 	 * 
 	 */
@@ -145,9 +146,9 @@
 	 * Explicit marking helps to avoid repeated computational cost of 
 	 * determining whether a query can be cached or not.
 	 * 
-	 * Explicit marking can not be reversed by removal of exclusion patterns.
+     * Explicit marking can not be reversed by removal of exclusion patterns.
 	 * 
-	 * @return The value for the given key if it had been cached before. null
+     * @return The value for the given key if it had been cached before. null
 	 * otherwise.
 	 */
 	public PreparedQuery markUncachable(String id);
@@ -164,13 +165,13 @@
 	
 	/**
 	 * Sets one or more exclusion regular expression patterns separated by 
-	 * semicolon. Any existing cache entry whose key matches any of the given
+     * semicolon. Any existing cache entry whose key matches any of the given
 	 * pattern will be marked non-cachable in a reversible manner. 
 	 */
 	public void setExcludes(String excludes);
 
 	/**
-	 * Adds the given pattern to the list of excluded patterns. Any existing 
+     * Adds the given pattern to the list of excluded patterns. Any existing
 	 * cache entry whose key matches the given pattern will be marked 
 	 * non-cachable in a reversible manner. 
 	 */

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryImpl.java Fri Apr  3 03:09:53 2009
@@ -900,7 +900,8 @@
      * key and index. The index set on the Parameter by the parser is the
      * same index used to access the Object[] elements returned by this method.
      * 
-     * {@link JPQLExpressionBuilder} creates and populates parameters as follows:
+     * {@link JPQLExpressionBuilder} creates and populates parameters as
+     * follows: 
      * The parameter key is not the token encountered by the parser, but 
      * converted to Integer or String based on the context in which the token 
      * appeared. 
@@ -914,12 +915,14 @@
      * This LinkedMap contains the parameter key and their expected 
      * (if determinable) value types. That it is a LinkedMap points to the 
      * fact that an ordering is implicit. The ordering of the keys in this Map 
-     * is the same as the order in which parser encountered the parameter tokens.
+     * is the same as the order in which parser encountered the parameter
+     * tokens.
      * 
      * For example, parsing result of the following two JPQL queries
      *   a) UPDATE CompUser e SET e.name= ?1, e.age = ?2 WHERE e.userid = ?3
-     *   b) UPDATE CompUser e SET e.name= :name, e.age = :age WHERE e.userid = :id
-     * The parameter keys will appear in the order (3,2,1) or (:id, :name, :age) 
+     *   b) UPDATE CompUser e SET e.name= :name, e.age = :age WHERE e.userid =
+     *          :id
+     * The parameter keys will appear in the order (3,2,1) or (:id, :name, :age)
      * in the given LinkedMap because WHERE clause is parsed before SET clause.
      * The corresponding Parameter Expressions created by the parser will have
      * following key and index:
@@ -1083,7 +1086,8 @@
                 try {
                     val = q.evaluate(value, ob, params, sm);
                 } catch (UnsupportedException e1) {
-                    throw new UserException(_loc.get("fail-to-get-update-value"));
+                    throw new UserException(
+                            _loc.get("fail-to-get-update-value"));
                 }
             }
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryStatistics.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryStatistics.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryStatistics.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/QueryStatistics.java Fri Apr  3 03:09:53 2009
@@ -66,7 +66,7 @@
 	public long getTotalExecutionCount(T query);
 
 	/**
-	 * Gets number of total query execution that are cached since last reset.
+     * Gets number of total query execution that are cached since last reset.
 	 */
 	public long getHitCount();
 
@@ -197,27 +197,27 @@
 		}
 		
 		public void dump(PrintStream out) {
-			String header = "Query Statistics starting from " + start;
+            String header = "Query Statistics starting from " + start;
 			out.print(header);
 			if (since == start) {
 				out.println();
-				out.println("Total Query Execution: " + toString(astat)); 
+                out.println("Total Query Execution: " + toString(astat)); 
 				out.println("\tTotal \t\tQuery");
 			} else {
 				out.println(" last reset on " + since);
-				out.println("Total Query Execution since start " 
-					+ toString(astat)  + " since reset " +  toString(stat));
-				out.println("\tSince Start \tSince Reset \t\tQuery");
+                out.println("Total Query Execution since start " + 
+                        toString(astat)  + " since reset " + toString(stat));
+                out.println("\tSince Start \tSince Reset \t\tQuery");
 			}
 			int i = 0;
 			for (T key : stats.keySet()) {
 				i++;
 				long[] arow = astats.get(key);
 				if (since == start) {
-					out.println(i + ". \t" + toString(arow) + " \t"	+ key);
+                    out.println(i + ". \t" + toString(arow) + " \t" + key);
 				} else {
 					long[] row  = stats.get(key);
-					out.println(i + ". \t" + toString(arow) + " \t"  
+                    out.println(i + ". \t" + toString(arow) + " \t"  
 					    + toString(row) + " \t\t" + key);
 				}
 			}
@@ -230,7 +230,7 @@
 		}
 		
 		String toString(long[] row) {
-			return row[READ] + ":" + row[HIT] + "(" + pct(row[HIT], row[READ]) 
+            return row[READ] + ":" + row[HIT] + "(" + pct(row[HIT], row[READ])
 			+ "%)";
 		}
 	}

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java Fri Apr  3 03:09:53 2009
@@ -1016,7 +1016,7 @@
             boolean wasFlushed = isFlushed();
             boolean wasDeleted = isDeleted();
             boolean needPostUpdate = !(wasNew && !wasFlushed)
-					&& (ImplHelper.getUpdateFields(this) != null);
+                    && (ImplHelper.getUpdateFields(this) != null);
 
             // all dirty fields were flushed
             _flush.or(_dirty);

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java Fri Apr  3 03:09:53 2009
@@ -332,7 +332,7 @@
 
         /**
          * Return a map of {@link FieldMetaData} to update
-		 * {@link Constant}s, in cases where this query is for a bulk update.
+         * {@link Constant}s, in cases where this query is for a bulk update.
 	 	 */
 		public Map getUpdates (StoreQuery q);
 	}

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/UUIDType4StringSeq.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/UUIDType4StringSeq.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/UUIDType4StringSeq.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/UUIDType4StringSeq.java Fri Apr  3 03:09:53 2009
@@ -29,7 +29,8 @@
 public class UUIDType4StringSeq
     implements Seq {
 
-    private static final UUIDType4StringSeq _instance = new UUIDType4StringSeq();
+    private static final UUIDType4StringSeq _instance =
+        new UUIDType4StringSeq();
 
     private String _last = null;
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java Fri Apr  3 03:09:53 2009
@@ -287,7 +287,7 @@
             	Class cls = meta.getDescribedType();
                 throw parseException(EX_USER, "no-field",
                     new Object[] {field, cls.getSimpleName(), 
-                	StringDistance.getClosestLevenshteinDistance(field, all), 
+                    StringDistance.getClosestLevenshteinDistance(field, all), 
                 	cls.getName(), Arrays.toString(all)}, null);
             }
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java Fri Apr  3 03:09:53 2009
@@ -1430,7 +1430,8 @@
                 if (c != null) {
                     Value lit = factory.newTypeLiteral(c, Literal.TYPE_CLASS);
                     Class<?> candidate = getCandidateType();
-                    ClassMetaData can = getClassMetaData(candidate.getName(), false);
+                    ClassMetaData can = getClassMetaData(candidate.getName(),
+                            false);
                     ClassMetaData meta = getClassMetaData(name, false);
                     if (candidate.isAssignableFrom(c))
                         lit.setMetaData(meta);
@@ -1501,7 +1502,8 @@
         return getQualifiedPath(node, false, true);
     }
 
-    private Value getQualifiedPath(JPQLNode node, boolean pcOnly, boolean inner) {
+    private Value getQualifiedPath(JPQLNode node, boolean pcOnly, boolean inner)
+    {
         int nChild = node.getChildCount();
         JPQLNode firstChild = firstChild(node);
         JPQLNode id = firstChild.id == JJTKEY ? onlyChild(firstChild) :

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java Fri Apr  3 03:09:53 2009
@@ -756,7 +756,8 @@
                             (url));
                         List<String> newNames = Arrays.asList(clss);
                         if (log.isTraceEnabled())
-                            log.trace(_loc.get("scan-found-names", newNames, rsrc));
+                            log.trace(_loc.get("scan-found-names", newNames,
+                                    rsrc));
                         names.addAll(newNames);
                         mapPersistentTypeNames(url, clss);
                     }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java Fri Apr  3 03:09:53 2009
@@ -1952,8 +1952,8 @@
                             if (f != null) 
                                 _useIdClassFromParent = false;
                             else 
-                                throw new MetaDataException(_loc.get("invalid-id",
-                                    _type, pks[0].getName()));
+                                throw new MetaDataException(_loc.get(
+                                        "invalid-id", _type, pks[0].getName()));
                         }
                     }
                 }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java Fri Apr  3 03:09:53 2009
@@ -1279,7 +1279,7 @@
         	if (!mustExist)
         		return Collections.EMPTY_LIST;
         	else
-        		throw new MetaDataException(_loc.get("eager-no-class-found"));
+                throw new MetaDataException(_loc.get("eager-no-class-found"));
         }
 
         // attempt to load classes so that they get processed
@@ -1298,7 +1298,7 @@
                 if (cls.isInterface())
                     getMetaData(cls, clsLoader, false);
             } else if (cls == null && mustExist) {
-        		throw new MetaDataException(_loc.get("eager-class-not-found", 
+                throw new MetaDataException(_loc.get("eager-class-not-found", 
         				className));
             }
         }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ProxySetupStateManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ProxySetupStateManager.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ProxySetupStateManager.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ProxySetupStateManager.java Fri Apr  3 03:09:53 2009
@@ -204,55 +204,55 @@
 
     public void providedBooleanField(PersistenceCapable pc, int i, boolean b) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"boolean"));
     }
 
     public void providedCharField(PersistenceCapable pc, int i, char c) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"char"));
     }
 
     public void providedByteField(PersistenceCapable pc, int i, byte b) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"byte"));
     }
 
     public void providedShortField(PersistenceCapable pc, int i, short s) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"short"));
     }
 
     public void providedIntField(PersistenceCapable pc, int i, int i2) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"int"));
     }
 
     public void providedLongField(PersistenceCapable pc, int i, long l) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"long"));
     }
 
     public void providedFloatField(PersistenceCapable pc, int i, float f) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"float"));
     }
 
     public void providedDoubleField(PersistenceCapable pc, int i, double d) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"double"));
     }
 
     public void providedStringField(PersistenceCapable pc, int i, String s) {
         throw new InternalException(_loc.get(
-				"unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
+                "unexpected_proxy_sm_attribute_type", pc.getClass().getName(),
 				"String"));
     }
 

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyCollections.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyCollections.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyCollections.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyCollections.java Fri Apr  3 03:09:53 2009
@@ -287,7 +287,8 @@
     public static Object afterRemove(ProxyCollection coll, int index, 
         Object removed) {
         if (coll.getChangeTracker() != null)
-            ((CollectionChangeTracker) coll.getChangeTracker()).removed(removed);
+            ((CollectionChangeTracker) coll.getChangeTracker()).
+                    removed(removed);
         removed(coll, removed, false);
         return removed;
     }

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyManagerImpl.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyManagerImpl.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ProxyManagerImpl.java Fri Apr  3 03:09:53 2009
@@ -515,7 +515,7 @@
         assertNotFinal(type);
         Project project = new Project(); 
         BCClass bc = AccessController.doPrivileged(J2DoPrivHelper
-            .loadProjectClassAction(project, getProxyClassName(type, runtime))); 
+            .loadProjectClassAction(project, getProxyClassName(type, runtime)));
         bc.setSuperclass(type);
         bc.declareInterface(ProxyCollection.class);
  
@@ -553,7 +553,7 @@
         assertNotFinal(type);
         Project project = new Project(); 
         BCClass bc = AccessController.doPrivileged(J2DoPrivHelper
-            .loadProjectClassAction(project, getProxyClassName(type, runtime))); 
+            .loadProjectClassAction(project, getProxyClassName(type, runtime)));
         bc.setSuperclass(type);
         bc.declareInterface(ProxyMap.class);
  
@@ -573,7 +573,7 @@
         assertNotFinal(type);
         Project project = new Project(); 
         BCClass bc = AccessController.doPrivileged(J2DoPrivHelper
-            .loadProjectClassAction(project, getProxyClassName(type, runtime))); 
+            .loadProjectClassAction(project, getProxyClassName(type, runtime)));
         bc.setSuperclass(type);
         bc.declareInterface(ProxyDate.class);
  
@@ -593,7 +593,7 @@
         assertNotFinal(type);
         Project project = new Project(); 
         BCClass bc = AccessController.doPrivileged(J2DoPrivHelper
-            .loadProjectClassAction(project, getProxyClassName(type, runtime))); 
+            .loadProjectClassAction(project, getProxyClassName(type, runtime)));
         bc.setSuperclass(type);
         bc.declareInterface(ProxyCalendar.class);
  
@@ -628,7 +628,7 @@
 
         Project project = new Project(); 
         BCClass bc = AccessController.doPrivileged(J2DoPrivHelper
-            .loadProjectClassAction(project, getProxyClassName(type, runtime))); 
+            .loadProjectClassAction(project, getProxyClassName(type, runtime)));
         bc.setSuperclass(type);
         bc.declareInterface(ProxyBean.class);
  

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/QueryException.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/QueryException.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/QueryException.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/QueryException.java Fri Apr  3 03:09:53 2009
@@ -34,7 +34,8 @@
 
     private static final long serialVersionUID = 7375049808087780437L;
 
-    private static final transient Localizer _loc = Localizer.forPackage(QueryException.class);
+    private static final transient Localizer _loc =
+            Localizer.forPackage(QueryException.class);
 
     private int timeout = -1;
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurations.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurations.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurations.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurations.java Fri Apr  3 03:09:53 2009
@@ -481,18 +481,18 @@
 
 		if (!invalidEntries.isEmpty() && configurationName != null) {
 			Localizer.Message msg = null;
-			String first = (String) invalidEntries.keySet().iterator().next();
+            String first = (String) invalidEntries.keySet().iterator().next();
 			if (invalidEntries.keySet().size() == 1 &&
 				first.indexOf('.') == -1) {
-				// if there's just one misspelling and this is not a
+                // if there's just one misspelling and this is not a
 				// path traversal, check for near misses.
-				Collection<String> options = findOptionsFor(obj.getClass());
-				String close = StringDistance.getClosestLevenshteinDistance
+                Collection<String> options = findOptionsFor(obj.getClass());
+                String close = StringDistance.getClosestLevenshteinDistance
 					(first, options, 0.75f);
 				if (close != null)
-					msg = _loc.get("invalid-config-param-hint", new Object[]{
-						configurationName, obj.getClass(), first, close,
-						options, });
+                    msg = _loc.get("invalid-config-param-hint", new Object[]{
+                            configurationName, obj.getClass(), first, close,
+						    options, });
 			}
 
             if (msg == null) {

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ObjectValue.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ObjectValue.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ObjectValue.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ObjectValue.java Fri Apr  3 03:09:53 2009
@@ -86,7 +86,8 @@
     /**
      * Instantiate the object as an instance of the given class.
      */
-    public Object instantiate(Class<?> type, Configuration conf, boolean fatal) {
+    public Object instantiate(Class<?> type, Configuration conf, boolean fatal)
+    {
         throw new UnsupportedOperationException();
     }
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginValue.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginValue.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginValue.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginValue.java Fri Apr  3 03:09:53 2009
@@ -98,7 +98,8 @@
     /**
      * Instantiate the plugin as an instance of the given class.
      */
-    public Object instantiate(Class<?> type, Configuration conf, boolean fatal) {
+    public Object instantiate(Class<?> type, Configuration conf, boolean fatal)
+    {
         Object obj = newInstance(_name, type, conf, fatal);
         Configurations.configureInstance(obj, conf, _props,
             (fatal) ? getProperty() : null);

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivation.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivation.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivation.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivation.java Fri Apr  3 03:09:53 2009
@@ -113,7 +113,8 @@
      *
      * @since 1.1.0
      */
-    public List<String> getAnchorsInFile(File file) throws IOException, Exception;
+    public List<String> getAnchorsInFile(File file) throws IOException,
+            Exception;
 
     /**
      * Return a List<String> of all the anchors defined in

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java Fri Apr  3 03:09:53 2009
@@ -94,7 +94,8 @@
         for (int i = 0; i < _derivationErrors.length; i++) {
             if (_derivationErrors[i] == null)
                 continue;
-            System.err.println(_derivationNames[i] + ":" + _derivationErrors[i]);
+            System.err.println(_derivationNames[i] + ":" +
+                    _derivationErrors[i]);
             break;
         }
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/DepthFirstAnalysis.java Fri Apr  3 03:09:53 2009
@@ -219,7 +219,7 @@
         if (path != null && !edge.getFrom().equals(edge.getTo())) {
             // Not a single edge loop
             pos = findNodeInPath(edge.getTo(), path);
-            assert (pos >= 0): _loc.get("node-not-on-path", edge, edge.getTo()); 
+            assert (pos >= 0): _loc.get("node-not-on-path", edge, edge.getTo());
         } else {
             assert (edge.getFrom().equals(edge.getTo())): 
                 _loc.get("edge-no-loop", edge).getMessage();

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/graph/Edge.java Fri Apr  3 03:09:53 2009
@@ -180,14 +180,16 @@
     }
 
     /**
-     * List of edges forming a cycle. Only set for TYPE_BACK and TYPE_FORWARD edges.
+     * List of edges forming a cycle. Only set for TYPE_BACK and TYPE_FORWARD
+     * edges.
      */
     public List getCycle() {
         return _cycle;
     }
     
     /**
-     * List of edges forming a cycle. Only set for TYPE_BACK and TYPE_FORWARD edges.
+     * List of edges forming a cycle. Only set for TYPE_BACK and TYPE_FORWARD
+     * edges.
      */
     public void setCycle(List cycle) {
         _cycle = cycle;

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java Fri Apr  3 03:09:53 2009
@@ -788,7 +788,8 @@
         throw new UnsupportedOperationException();
     }
 
-    public Object getObject(String a, Map<String, Class<?>>b) throws SQLException {
+    public Object getObject(String a, Map<String, Class<?>>b) throws
+            SQLException {
         throw new UnsupportedOperationException();
     }
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java Fri Apr  3 03:09:53 2009
@@ -595,7 +595,8 @@
         return _stmnt;
     }
 
-    public Object getObject(int a, Map<String, Class<?>> b) throws SQLException {
+    public Object getObject(int a, Map<String, Class<?>> b) throws
+            SQLException {
         return _rs.getObject(a, b);
     }
 
@@ -615,7 +616,8 @@
         return _rs.getArray(a);
     }
 
-    public Object getObject(String a, Map<String, Class<?>> b) throws SQLException {
+    public Object getObject(String a, Map<String, Class<?>> b) throws
+            SQLException {
         return _rs.getObject(a, b);
     }
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.java Fri Apr  3 03:09:53 2009
@@ -39,7 +39,8 @@
 
     private static final Class<EventConnection> eventConnectionImpl;
     private static final Class<EventStatement> eventStatementImpl;
-    private static final Class<EventPreparedStatement> eventPreparedStatementImpl;
+    private static final Class<EventPreparedStatement>
+            eventPreparedStatementImpl;
 
     static {
         try {
@@ -250,7 +251,8 @@
     /**
      * Fires events as appropriate.
      */
-    protected abstract class EventPreparedStatement extends DelegatingPreparedStatement {
+    protected abstract class EventPreparedStatement extends
+            DelegatingPreparedStatement {
 
         private final EventConnection _conn;
         private final String _sql;

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/LoggingConnectionDecorator.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/LoggingConnectionDecorator.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/LoggingConnectionDecorator.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/LoggingConnectionDecorator.java Fri Apr  3 03:09:53 2009
@@ -45,11 +45,16 @@
 import java.util.Iterator;
 import java.util.List;
 
-import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingCallableStatement;
-import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData;
-import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingPreparedStatement;
-import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingResultSet;
-import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingStatement;
+import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.
+        LoggingCallableStatement;
+import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.
+        LoggingDatabaseMetaData;
+import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.
+        LoggingPreparedStatement;
+import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.
+        LoggingResultSet;
+import org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.
+        LoggingStatement;
 import org.apache.openjpa.lib.log.Log;
 import org.apache.openjpa.lib.util.ConcreteClassGenerator;
 import org.apache.openjpa.lib.util.J2DoPrivHelper;
@@ -1277,7 +1282,8 @@
                             _paramBatch = new ArrayList<List<String>>();
                         // copy parameters since they will be re-used
                         if (_params != null) {
-                            List<String> copyParms = new ArrayList<String>(_params);
+                            List<String> copyParms =
+                                    new ArrayList<String>(_params);
                             _paramBatch.add(copyParms);
                         }
                         else

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/CommonsLogFactory.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/CommonsLogFactory.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/CommonsLogFactory.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/CommonsLogFactory.java Fri Apr  3 03:09:53 2009
@@ -37,8 +37,8 @@
     }
 
     /**
-     * Adapts a commons logging log to the {@link org.apache.openjpa.lib.log.Log}
-     * interface.
+     * Adapts a commons logging log to the
+     * {@link org.apache.openjpa.lib.log.Log} interface.
      */
     public static class LogAdapter implements org.apache.openjpa.lib.log.Log {
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log4JLogFactory.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log4JLogFactory.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log4JLogFactory.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log4JLogFactory.java Fri Apr  3 03:09:53 2009
@@ -34,7 +34,8 @@
     }
 
     /**
-     * Adapts a Log4J logger to the {@link org.apache.openjpa.lib.log.Log} interface.
+     * Adapts a Log4J logger to the {@link org.apache.openjpa.lib.log.Log}
+     * interface.
      */
     public static class LogAdapter implements Log {
 

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassMetaDataIterator.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassMetaDataIterator.java?rev=761509&r1=761508&r2=761509&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassMetaDataIterator.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassMetaDataIterator.java Fri Apr  3 03:09:53 2009
@@ -63,8 +63,8 @@
      * Constructor; supply the class whose metadata to find, the suffix
      * of metadata files, and whether to parse top-down or bottom-up.
      */
-    public ClassMetaDataIterator(Class<?> cls, String suffix, ClassLoader loader,
-        boolean topDown) {
+    public ClassMetaDataIterator(Class<?> cls, String suffix,
+            ClassLoader loader, boolean topDown) {
         // skip classes that can't have metadata
         if (cls != null && (cls.isPrimitive()
             || cls.getName().startsWith("java.")



Mime
View raw message