You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by is...@apache.org on 2020/10/03 18:37:57 UTC
[tomcat] 01/02: Whitespace police
This is an automated email from the ASF dual-hosted git repository.
isapir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 089a803c694a6f5365b8a9b75a0d7f0c36ebca1f
Author: Igal Sapir <is...@apache.org>
AuthorDate: Sat Oct 3 11:32:53 2020 -0700
Whitespace police
---
java/jakarta/annotation/Resource.java | 2 +-
.../annotation/sql/DataSourceDefinition.java | 38 +++++++++++-----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/java/jakarta/annotation/Resource.java b/java/jakarta/annotation/Resource.java
index 20cecab..746da43 100644
--- a/java/jakarta/annotation/Resource.java
+++ b/java/jakarta/annotation/Resource.java
@@ -46,7 +46,7 @@ public @interface Resource {
* @return a String with the name of the resource
*/
public String name() default "";
-
+
/**
* Uses generics since Common Annotations 1.2.
*
diff --git a/java/jakarta/annotation/sql/DataSourceDefinition.java b/java/jakarta/annotation/sql/DataSourceDefinition.java
index e4de009..d93b920 100644
--- a/java/jakarta/annotation/sql/DataSourceDefinition.java
+++ b/java/jakarta/annotation/sql/DataSourceDefinition.java
@@ -27,95 +27,95 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSourceDefinition {
-
+
/**
* @return the className
*/
String className();
-
+
/**
* @return the name
*/
String name();
-
+
/**
* @return the description
*/
String description() default "";
-
+
/**
* @return the url
*/
String url() default "";
-
+
/**
* @return the user
*/
String user() default "";
-
+
/**
* @return the password
*/
String password() default "";
-
+
/**
* @return database name
*/
String databaseName() default "";
-
+
/**
* @return the port number
*/
int portNumber() default -1;
-
+
/**
* @return the server name
*/
String serverName() default "localhost";
-
+
/**
* @return the isolation level
*/
int isolationLevel() default -1;
-
+
/**
* @return true if the data source is transactional
*/
boolean transactional() default true;
-
+
/**
* @return the initial pool size
*/
int initialPoolSize() default -1;
-
+
/**
* @return the max pool size
*/
int maxPoolSize() default -1;
-
+
/**
* @return the min pool size
*/
int minPoolSize() default -1;
-
+
/**
* @return the max idle time
*/
int maxIdleTime() default -1;
-
+
/**
* @return the max statements
*/
int maxStatements() default -1;
-
+
/**
* @return a String[] with the properties
*/
String[] properties() default {};
-
+
/**
* @return the login timeout
*/
int loginTimeout() default 0;
-
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org