Skip to content

Conversation

stopit
Copy link
Contributor

@stopit stopit commented Aug 31, 2018

ElasticSearchResultSetMetaDataBase类中使用语句:
private final List columns = new ArrayList();
建立了自己的columns,但是并没有重写。但是其父类中已经创建了columns,由于ElasticSearchResultSetMetaDataBase类没有重写getColumnCount等函数,调用者使用相关功能时,实际上使用的是父类的columns对象,而非子类新创建的对象,从而导致无法获取列数等信息的问题。

本次修改在初始化columns时,直接使用父类已经初始化好的对象,统一父类与子类方法中的对象信息,修复该问题。并在本地测试环境中进行了验证。

@shi-yuan
Copy link
Member

冲突了。。。

@stopit
Copy link
Contributor Author

stopit commented Sep 3, 2018

@shi-yuan 我和master比对了下,应该只修改了一行存在bug的代码

@shi-yuan shi-yuan merged commit 52b6eee into NLPchina:master Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants