Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vollt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sonia Zorba
vollt
Commits
1759db89
Commit
1759db89
authored
5 years ago
by
Grégory Mantelet
Browse files
Options
Downloads
Patches
Plain Diff
[TAP] Fix Javadoc
parent
8af5a319
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/tap/ServiceConnection.java
+4
-4
4 additions, 4 deletions
src/tap/ServiceConnection.java
src/tap/config/TAPConfiguration.java
+2
-2
2 additions, 2 deletions
src/tap/config/TAPConfiguration.java
src/tap/log/Slf4jTAPLog.java
+5
-3
5 additions, 3 deletions
src/tap/log/Slf4jTAPLog.java
with
11 additions
and
9 deletions
src/tap/ServiceConnection.java
+
4
−
4
View file @
1759db89
...
...
@@ -44,7 +44,7 @@ import uws.service.file.UWSFileManager;
* </p>
*
* @author Grégory Mantelet (CDS;ARI)
* @version 2.3 (0
3
/2019)
* @version 2.3 (0
4
/2019)
*/
public
interface
ServiceConnection
{
...
...
@@ -52,7 +52,7 @@ public interface ServiceConnection {
* List of possible limit units.
*
* @author Grégory Mantelet (CDS;ARI)
* @version 2.
0
(0
1
/201
5
)
* @version 2.
3
(0
4
/201
9
)
*/
public
static
enum
LimitUnit
{
rows
(
"row"
),
bytes
(
"byte"
),
kilobytes
(
"kilobyte"
),
megabytes
(
"megabyte"
),
gigabytes
(
"gigabyte"
);
...
...
@@ -120,12 +120,12 @@ public interface ServiceConnection {
*
* @throws TAPException If the two given units are not compatible.
*
* @see #compare(long,
LimitUnit, long,
LimitUnit)
* @see #compare(long,
tap.ServiceConnection.LimitUnit, long, tap.ServiceConnection.
LimitUnit)
*
* @since 1.1
*/
public
static
int
compare
(
final
int
leftLimit
,
final
LimitUnit
leftUnit
,
final
int
rightLimit
,
final
LimitUnit
rightUnit
)
throws
TAPException
{
return
compare
(
leftLimit
,
leftUnit
,
rightLimit
,
rightUnit
);
return
compare
(
(
long
)
leftLimit
,
leftUnit
,
(
long
)
rightLimit
,
rightUnit
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/tap/config/TAPConfiguration.java
+
2
−
2
View file @
1759db89
...
...
@@ -266,13 +266,13 @@ public final class TAPConfiguration {
/** Name/Key of the property specifying the maximum size of all VOTable(s)
* uploaded in a query.
* @deprecated Since 2.3, use the property {@value #KEY_MAX_UPLOAD_LIMIT}
* and {@value #KEY_MAX_REQUEST_
LIMIT
} instead. */
* and {@value #KEY_
UPLOAD_
MAX_REQUEST_
SIZE
} instead. */
@Deprecated
public
final
static
String
KEY_UPLOAD_MAX_FILE_SIZE
=
"upload_max_file_size"
;
/** Default value of the property {@value #KEY_UPLOAD_MAX_FILE_SIZE} =
* {@value #DEFAULT_UPLOAD_MAX_FILE_SIZE}.
* @deprecated Since 2.3, use the property {@value #KEY_MAX_UPLOAD_LIMIT}
* and {@value #KEY_MAX_REQUEST_
LIMIT
} instead. */
* and {@value #KEY_
UPLOAD_
MAX_REQUEST_
SIZE
} instead. */
@Deprecated
public
final
static
int
DEFAULT_UPLOAD_MAX_FILE_SIZE
=
Integer
.
MAX_VALUE
;
/** Name/Key of the property specifying the maximum size of a whole HTTP
...
...
This diff is collapsed.
Click to expand it.
src/tap/log/Slf4jTAPLog.java
+
5
−
3
View file @
1759db89
...
...
@@ -63,9 +63,11 @@ import uws.service.log.Slf4jUWSLog;
* The ID of the general/root logger is just
* <code>{@value #DEFAULT_ROOT_LOG_ID}</code>. For all the other specific
* loggers, <code>{SUFFIX}</code> is a dot followed by one among
* {@value #UWS_LOG_ID_SUFFIX}, {@value #HTTP_LOG_ID_SUFFIX},
* {@value #JOB_LOG_ID_SUFFIX} and {@value #THREAD_LOG_ID_SUFFIX}. Thus, the
* full ID of the logger for the HTTP requests is:
* {@value uws.service.log.Slf4jUWSLog#UWS_LOG_ID_SUFFIX},
* {@value uws.service.log.Slf4jUWSLog#HTTP_LOG_ID_SUFFIX},
* {@value uws.service.log.Slf4jUWSLog#JOB_LOG_ID_SUFFIX} and
* {@value uws.service.log.Slf4jUWSLog#THREAD_LOG_ID_SUFFIX}. Thus, the full ID
* of the logger for the HTTP requests is:
* </p>
* <pre>uws.service.http</pre>
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment