@@ -123,7 +123,7 @@ public void addWord(String word, Integer id) {
123123 * @param indexId the index id
124124 * @return the index info
125125 */
126- protected IndexInfo getIndexInfo (int indexId ) {
126+ IndexInfo getIndexInfo (int indexId ) {
127127 return indexes .get (indexId );
128128 }
129129
@@ -132,7 +132,7 @@ protected IndexInfo getIndexInfo(int indexId) {
132132 *
133133 * @param index the index
134134 */
135- protected void addIndexInfo (IndexInfo index ) {
135+ void addIndexInfo (IndexInfo index ) {
136136 indexes .put (index .id , index );
137137 }
138138
@@ -143,7 +143,7 @@ protected void addIndexInfo(IndexInfo index) {
143143 * @param word the word to convert and check
144144 * @return the uppercase version of the word or null
145145 */
146- protected String convertWord (String word ) {
146+ String convertWord (String word ) {
147147 word = normalizeWord (word );
148148 synchronized (ignoreList ) {
149149 if (ignoreList .contains (word )) {
@@ -158,8 +158,9 @@ protected String convertWord(String word) {
158158 *
159159 * @param conn the connection
160160 * @return the settings
161+ * @throws SQLException on failure
161162 */
162- protected static FullTextSettings getInstance (Connection conn )
163+ static FullTextSettings getInstance (Connection conn )
163164 throws SQLException {
164165 String path = getIndexPath (conn );
165166 FullTextSettings setting ;
@@ -200,8 +201,9 @@ private static String getIndexPath(Connection conn) throws SQLException {
200201 * @param conn the connection
201202 * @param sql the statement
202203 * @return the prepared statement
204+ * @throws SQLException on failure
203205 */
204- protected synchronized PreparedStatement prepare (Connection conn , String sql )
206+ synchronized PreparedStatement prepare (Connection conn , String sql )
205207 throws SQLException {
206208 SoftValuesHashMap <String , PreparedStatement > c = cache .get (conn );
207209 if (c == null ) {
0 commit comments