@@ -123,7 +123,7 @@ public void addWord(String word, Integer id) {
123
123
* @param indexId the index id
124
124
* @return the index info
125
125
*/
126
- protected IndexInfo getIndexInfo (int indexId ) {
126
+ IndexInfo getIndexInfo (int indexId ) {
127
127
return indexes .get (indexId );
128
128
}
129
129
@@ -132,7 +132,7 @@ protected IndexInfo getIndexInfo(int indexId) {
132
132
*
133
133
* @param index the index
134
134
*/
135
- protected void addIndexInfo (IndexInfo index ) {
135
+ void addIndexInfo (IndexInfo index ) {
136
136
indexes .put (index .id , index );
137
137
}
138
138
@@ -143,7 +143,7 @@ protected void addIndexInfo(IndexInfo index) {
143
143
* @param word the word to convert and check
144
144
* @return the uppercase version of the word or null
145
145
*/
146
- protected String convertWord (String word ) {
146
+ String convertWord (String word ) {
147
147
word = normalizeWord (word );
148
148
synchronized (ignoreList ) {
149
149
if (ignoreList .contains (word )) {
@@ -158,8 +158,9 @@ protected String convertWord(String word) {
158
158
*
159
159
* @param conn the connection
160
160
* @return the settings
161
+ * @throws SQLException on failure
161
162
*/
162
- protected static FullTextSettings getInstance (Connection conn )
163
+ static FullTextSettings getInstance (Connection conn )
163
164
throws SQLException {
164
165
String path = getIndexPath (conn );
165
166
FullTextSettings setting ;
@@ -200,8 +201,9 @@ private static String getIndexPath(Connection conn) throws SQLException {
200
201
* @param conn the connection
201
202
* @param sql the statement
202
203
* @return the prepared statement
204
+ * @throws SQLException on failure
203
205
*/
204
- protected synchronized PreparedStatement prepare (Connection conn , String sql )
206
+ synchronized PreparedStatement prepare (Connection conn , String sql )
205
207
throws SQLException {
206
208
SoftValuesHashMap <String , PreparedStatement > c = cache .get (conn );
207
209
if (c == null ) {
0 commit comments