[jboss-cvs] JBossAS SVN: r112183 - in projects/jboss-jca/trunk: common/src/main/java/org/jboss/jca/common/api/metadata and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 31 10:07:25 EDT 2011
Author: jesper.pedersen
Date: 2011-08-31 10:07:24 -0400 (Wed, 31 Aug 2011)
New Revision: 112183
Modified:
projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/BaseWrapperManagedConnectionFactory.java
projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/CachedPreparedStatement.java
projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java
Log:
checkstyle fixes
Modified: projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/BaseWrapperManagedConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/BaseWrapperManagedConnectionFactory.java 2011-08-31 13:27:31 UTC (rev 112182)
+++ projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/BaseWrapperManagedConnectionFactory.java 2011-08-31 14:07:24 UTC (rev 112183)
@@ -42,7 +42,6 @@
import java.io.PrintWriter;
import java.io.Serializable;
import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.sql.Connection;
Modified: projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/CachedPreparedStatement.java
===================================================================
--- projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/CachedPreparedStatement.java 2011-08-31 13:27:31 UTC (rev 112182)
+++ projects/jboss-jca/trunk/adapters/src/main/java/org/jboss/jca/adapters/jdbc/CachedPreparedStatement.java 2011-08-31 14:07:24 UTC (rev 112183)
@@ -51,7 +51,11 @@
public abstract class CachedPreparedStatement extends JBossWrapper implements PreparedStatement
{
private static final long serialVersionUID = 2085461257386274373L;
+
+ /** The logger */
protected static Logger log = Logger.getLogger(CachedPreparedStatement.class);
+
+ /** Trace logging */
protected static boolean trace = log.isTraceEnabled();
private PreparedStatement ps;
Modified: projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java
===================================================================
--- projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java 2011-08-31 13:27:31 UTC (rev 112182)
+++ projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/metadata/Defaults.java 2011-08-31 14:07:24 UTC (rev 112183)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2011, Red Hat, Inc., and individual contributors
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -30,130 +30,128 @@
*
* @author <a href="jesper.pedersen at jboss.org">Jesper Pedersen</a>
*/
-public interface Defaults {
+public interface Defaults
+{
+ //DATASOURCE
- //DATASOURCE
+ /**
+ * Use Java context
+ */
+ public static final Boolean USE_JAVA_CONTEXT = Boolean.TRUE;
+
+ /**
+ * Use Java context
+ */
+ public static final Boolean ENABLED = Boolean.TRUE;
- /**
- * Use Java context
- */
- public static final Boolean USE_JAVA_CONTEXT = Boolean.FALSE;
+ /**
+ * SPY
+ */
+ public static final Boolean SPY = Boolean.FALSE;
+
+ /**
+ * Use ccm
+ */
+ public static final Boolean USE_CCM = Boolean.TRUE;
+
+ /**
+ * JTA
+ */
+ public static final boolean JTA = Boolean.TRUE;
+
+ // POOL
- /**
- * Use Java context
+ /**
+ * Min pool size
*/
- public static final Boolean ENABLED = Boolean.TRUE;
+ public static final Integer MIN_POOL_SIZE = Integer.valueOf(0);
- /**
- * SPY
- */
- public static final Boolean SPY = Boolean.FALSE;
+ /**
+ * Max pool size
+ */
+ public static final Integer MAX_POOL_SIZE = Integer.valueOf(20);
+
+ /**
+ * Prefill
+ */
+ public static final Boolean PREFILL = Boolean.FALSE;
+
+ /**
+ * Use strict min
+ */
+ public static final Boolean USE_STRICT_MIN = Boolean.FALSE;
+
+ /**
+ * Flush strategy
+ */
+ public static final FlushStrategy FLUSH_STRATEGY = FlushStrategy.FAILING_CONNECTION_ONLY;
+
+ /**
+ * Interleaving
+ */
+ public static final Boolean INTERLEAVING = Boolean.FALSE;
+
+ /**
+ * Is same rm override
+ */
+ public static final Boolean IS_SAME_RM_OVERRIDE = Boolean.FALSE;
+
+ /**
+ * Pad Xid
+ */
+ public static final Boolean PAD_XID = Boolean.FALSE;
+
+ /**
+ * No tx separate pool
+ */
+ public static final Boolean NO_TX_SEPARATE_POOL = Boolean.FALSE;
+
+ /**
+ * Wrap XAResource
+ */
+ public static final Boolean WRAP_XA_RESOURCE = Boolean.TRUE;
+
+ //Statement
+
+ /**
+ * share prepared statement
+ */
+ public static final Boolean SHARE_PREPARED_STATEMENTS = Boolean.FALSE;
+
+ /**
+ * Track statements
+ */
+ public static final Statement.TrackStatementsEnum TRACK_STATEMENTS = Statement.TrackStatementsEnum.NOWARN;
+
+
+ //timeout
+
+ /**
+ * SET TX QUERY TIMEOUT
+ */
+ public static final Boolean SET_TX_QUERY_TIMEOUT = Boolean.FALSE;
+
+ //Validation
+
+ /**
+ * Background validation
+ */
+ public static final Boolean BACKGROUND_VALIDATION = Boolean.FALSE;
- /**
- * Use ccm
- */
- public static final Boolean USE_CCM = Boolean.TRUE;
+ /**
+ * Use fast fail
+ */
+ public static final Boolean USE_FAST_FAIL = Boolean.FALSE;
- /**
- * JTA
- */
- public static final boolean JTA = Boolean.TRUE;
+ /**
+ * Validate on match
+ */
+ public static final Boolean VALIDATE_ON_MATCH = Boolean.FALSE;
-
-
- // POOL
-
- /**
- * Min pool size
- */
- public static final Integer MIN_POOL_SIZE = Integer.valueOf(0);
-
- /**
- * Max pool size
- */
- public static final Integer MAX_POOL_SIZE = Integer.valueOf(20);
-
- /**
- * Prefill
- */
- public static final Boolean PREFILL = Boolean.FALSE;
-
- /**
- * Use strict min
- */
- public static final Boolean USE_STRICT_MIN = Boolean.FALSE;
-
- /**
- * Flush strategy
- */
- public static final FlushStrategy FLUSH_STRATEGY = FlushStrategy.FAILING_CONNECTION_ONLY;
-
- /**
- * Interleaving
- */
- public static final Boolean INTERLEAVING = Boolean.FALSE;
-
- /**
- * Is same rm override
- */
- public static final Boolean IS_SAME_RM_OVERRIDE = Boolean.FALSE;
-
- /**
- * Pad Xid
- */
- public static final Boolean PAD_XID = Boolean.FALSE;
-
- /**
- * No tx separate pool
- */
- public static final Boolean NO_TX_SEPARATE_POOL = Boolean.FALSE;
-
- /**
- * Wrap XAResource
- */
- public static final Boolean WRAP_XA_RESOURCE = Boolean.TRUE;
-
- //Statement
-
- /**
- * share prepared statement
- */
- public static final Boolean SHARE_PREPARED_STATEMENTS = Boolean.FALSE;
-
- /**
- * Track statements
- */
- public static final Statement.TrackStatementsEnum TRACK_STATEMENTS = Statement.TrackStatementsEnum.NOWARN;
-
-
- //timeout
-
- /**
- * SET TX QUERY TIMEOUT
- */
- public static final Boolean SET_TX_QUERY_TIMEOUT = Boolean.FALSE;
-
- //Validation
-
- /**
- * Background validation
- */
- public static final Boolean BACKGROUND_VALIDATION = Boolean.FALSE ;
- /**
- * Use fast fail
- */
- public static final Boolean USE_FAST_FAIl = Boolean.FALSE ;
-
- /**
- * Validate on match
- */
- public static final Boolean VALIDATE_ON_MATCH = Boolean.FALSE ;
-
- //Security
-
- /**
- * application managed security
- */
- public static final Boolean APPLICATION_MANAGED_SECURITY = Boolean.FALSE;
-
+ //Security
+
+ /**
+ * application managed security
+ */
+ public static final Boolean APPLICATION_MANAGED_SECURITY = Boolean.FALSE;
}
More information about the jboss-cvs-commits
mailing list