Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve the javadoc warning of openmldb-jdbc #1319 #1863

Merged
merged 3 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,13 @@ synchronized public static void loadLibrary(String libraryPath) {
}
}


/**
* Extract library in resource into filesystem
* @param path the path that will be extracted.
* @param isTemp whether to create a temp file.
* @return the absolute path of the resources.
* @throws IOException if the resources cannot be found.
*/
public static String extractResource(String path, boolean isTemp) throws IOException {
InputStream inputStream = LibraryLoader.class.getClassLoader().getResourceAsStream(path);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public InputStream getAsciiStream(String s) throws SQLException {
}

/**
* @param s
* @param s the string for the unicode stream extraction.
* @deprecated
*/
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ public java.sql.ResultSet get() throws InterruptedException, ExecutionException
/**
*
* @param l current timeout set by executeQeuryAsyn, so the param is invalid
* @param timeUnit
* @return
* @throws InterruptedException
* @throws ExecutionException
* @throws TimeoutException
* @param timeUnit the time unit of the timeout, which is also invalid.
* @return the result of the query from the database
* @throws InterruptedException throws when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.
* @throws ExecutionException throws when attempting to retrieve the result of a task that aborted by throwing an exception.
* @throws TimeoutException throws when a blocking operation times out.
*/
@Override
@Deprecated
Expand Down