Skip to content

Commit

Permalink
[AD-545] Corrections from code review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Irschick committed Mar 15, 2022
1 parent 28bb709 commit 343bfaa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace ignite {
namespace odbc {
namespace jni {
/**
* Wrapper for the the JDBC DatabaseMetaData.
* Wrapper for the the DocumentDB connection properties.
*/
class DocumentDbConnectionProperties {
friend class DocumentDbConnection;
Expand All @@ -45,7 +45,7 @@ class DocumentDbConnectionProperties {

private:
/**
* Constructs an instance of the DatabaseMetaData class.
* Constructs an instance of the DocumentDbConnectionProperties class.
*/
DocumentDbConnectionProperties(
SharedPointer< JniContext >& jniContext,
Expand All @@ -56,7 +56,7 @@ class DocumentDbConnectionProperties {
/** The JNI context */
SharedPointer< JniContext > _jniContext;

/** The DatabaseMetaData Java object */
/** The DocumentDbConnectionProperties Java object */
SharedPointer< GlobalJObject > _connectionProperties;
};
} // namespace jni
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ namespace ignite {
namespace odbc {
namespace jni {
/**
* Wrapper for the the JDBC DatabaseMetaData.
* Wrapper for the the DocumentDB database metadata.
*/
class DocumentDbDatabaseMetadata {
friend class DocumentDbConnection;
friend class DocumentDbQueryMappingService;

public:
/**
* Desctructs a DocumentDbDatabaseMetadata instance.
* Destructs a DocumentDbDatabaseMetadata instance.
*/
~DocumentDbDatabaseMetadata() = default;

private:
/**
* Constructs an instance of the DatabaseMetaData class.
* Constructs an instance of the DocumentDbDatabaseMetadata class.
*/
DocumentDbDatabaseMetadata(
SharedPointer< JniContext >& jniContext,
Expand All @@ -59,7 +59,7 @@ class DocumentDbDatabaseMetadata {
/** The JNI context */
SharedPointer< JniContext > _jniContext;

/** The DatabaseMetaData Java object */
/** The DocumentDbDatabaseMetadata Java object */
SharedPointer< GlobalJObject > _databaseMetadata;
};
} // namespace jni
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace ignite {
namespace odbc {
namespace jni {
/**
* Wrapper for the the JDBC DatabaseMetaData.
* Wrapper for the the DocumentDB query mapping service.
*/
class DocumentDbQueryMappingService {
public:
Expand Down Expand Up @@ -66,7 +66,7 @@ class DocumentDbQueryMappingService {

private:
/**
* Constructs an instance of the DatabaseMetaData class.
* Constructs an instance of the DocumentDbQueryMappingService class.
*/
DocumentDbQueryMappingService(SharedPointer< JniContext >& jniContext,
SharedPointer< GlobalJObject >& queryMappingService)
Expand All @@ -86,7 +86,7 @@ class DocumentDbQueryMappingService {
/** The JNI context */
SharedPointer< JniContext > _jniContext;

/** The DatabaseMetaData Java object */
/** The DocumentDbQueryMappingService Java object */
SharedPointer< GlobalJObject > _queryMappingService;
};
} // namespace jni
Expand Down
4 changes: 2 additions & 2 deletions src/odbc/include/ignite/odbc/jni/jdbc_column_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace ignite {
namespace odbc {
namespace jni {
/**
* Wrapper for the the JDBC DatabaseMetaData.
* Wrapper for the the JDBC column metadata.
*/
class JdbcColumnMetadata {
friend class DocumentDbConnection;
Expand Down Expand Up @@ -199,7 +199,7 @@ class JdbcColumnMetadata {

private:
/**
* Constructs an instance of the DatabaseMetaData class.
* Constructs an instance of the JdbcColumnMetadata class.
*/
JdbcColumnMetadata(int32_t ordinal, bool autoIncrement, bool caseSensitive,
bool searchable, bool currency, int32_t nullable,
Expand Down

0 comments on commit 343bfaa

Please sign in to comment.