javadoc warning fix (#5332)

Co-authored-by: gwang0000 <62914304+gwang0000@users.noreply.github.com>
This commit is contained in:
Guoyu Wang 2020-10-02 11:52:07 -07:00 committed by GitHub
parent 06cd81d791
commit 6e4949e235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -496,7 +496,7 @@ public class OrtSession implements AutoCloseable {
private final List<Long> customLibraryHandles;
private Map<String, String> configEntries;
private final Map<String, String> configEntries;
private boolean closed = false;
@ -692,7 +692,11 @@ public class OrtSession implements AutoCloseable {
configEntries.put(configKey, configValue);
}
/** Returns an unmodifiable view of the map contains all session configuration entries. */
/**
* Returns an unmodifiable view of the map contains all session configuration entries.
*
* @return All session configuration entries
*/
public Map<String, String> getConfigEntries() {
checkClosed();
return Collections.unmodifiableMap(configEntries);