Skip to content

Commit

Permalink
HSEARCH-1115 Fixing some typos in log method names
Browse files Browse the repository at this point in the history
  • Loading branch information
hferentschik authored and Sanne committed May 9, 2012
1 parent 5e03873 commit da5dd62
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void prepareJGroupsChannel(Properties props, BuildContext context) {
channel.connect( clusterName );
}
catch ( Exception e ) {
throw log.unabletoConnectToJGroupsCluster( clusterName, e );
throw log.unableConnectingToJGroupsCluster( clusterName, e );
}
}
masterNodeSelector.setLocalAddress( channel.getAddress() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private void applyLuceneWorkLocally(List<LuceneWork> queue, IndexManager indexMa
indexManager.performOperations( queue, null );
}
else {
log.receivedEmptyLuceneWOrksInMessage();
log.receivedEmptyLuceneWorksInMessage();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private void flushCloseExecutor(ExecutorService executor) {
Thread.currentThread().interrupt();
}
if ( ! executor.isTerminated() ) {
log.unableToShutdownAsyncronousIndexingByTimeout( indexName );
log.unableToShutdownAsynchronousIndexingByTimeout( indexName );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static final void appendFailureMessage(StringBuilder message, LuceneWork

@Override
public void handleException(String errorMsg, Throwable exception) {
log.exceptionOccured( errorMsg, exception );
log.exceptionOccurred( errorMsg, exception );
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void stop() {
}

if ( allReaders.size() != 0 ) {
log.readersNotProperlyClosedinReaderProvider();
log.readersNotProperlyClosedInReaderProvider();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public interface Log extends BasicLogger {

@LogMessage(level = WARN)
@Message(id = 51, value = "Received null or empty Lucene works list in message.")
void receivedEmptyLuceneWOrksInMessage();
void receivedEmptyLuceneWorksInMessage();

@LogMessage(level = WARN)
@Message(id = 52, value = "Going to force release of the IndexWriter lock")
Expand All @@ -276,7 +276,7 @@ public interface Log extends BasicLogger {

@LogMessage(level = WARN)
@Message(id = 54, value = "ReaderProvider contains readers not properly closed at destroy time")
void readersNotProperlyClosedinReaderProvider();
void readersNotProperlyClosedInReaderProvider();

@LogMessage(level = WARN)
@Message(id = 55, value = "Unable to close Lucene IndexReader")
Expand All @@ -293,7 +293,7 @@ public interface Log extends BasicLogger {

@LogMessage(level = ERROR)
@Message(id = 58, value = "%1$s")
void exceptionOccured(String errorMsg, @Cause Throwable exceptionThatOccurred);
void exceptionOccurred(String errorMsg, @Cause Throwable exceptionThatOccurred);

@LogMessage(level = ERROR)
@Message(id = 59, value = "Worker raises an exception on close()")
Expand All @@ -320,8 +320,8 @@ public interface Log extends BasicLogger {
void errorExecutingRunnableInTransaction(@Cause Throwable e);

@LogMessage(level = ERROR)
@Message(id = 65, value = "Error while rollbacking transaction after %1$s")
void errorRollbackingTransaction(String message, @Cause Exception e1);
@Message(id = 65, value = "Error while rolling back transaction after %1$s")
void errorRollingBackTransaction(String message, @Cause Exception e1);

@LogMessage(level = ERROR)
@Message(id = 66, value = "Failed to initialize SlaveDirectoryProvider %1$s")
Expand All @@ -345,7 +345,7 @@ public interface Log extends BasicLogger {

@LogMessage(level = ERROR)
@Message(id = 71, value = "Unable to properly shut down asynchronous indexing work")
void unableToShutdownAsyncronousIndexing(@Cause Exception e);
void unableToShutdownAsynchronousIndexing(@Cause Exception e);

@LogMessage(level = ERROR)
@Message(id = 72,
Expand Down Expand Up @@ -373,7 +373,7 @@ public interface Log extends BasicLogger {

@LogMessage(level = ERROR)
@Message(id = 78, value = "Timed out waiting to flush all operations to the backend of index %1$s")
void unableToShutdownAsyncronousIndexingByTimeout(String indexName);
void unableToShutdownAsynchronousIndexingByTimeout(String indexName);

@LogMessage(level = INFO)
@Message(id = 79, value = "Serialization protocol version %1$d.%2$d")
Expand All @@ -400,7 +400,7 @@ public interface Log extends BasicLogger {
@Message(id = 85, value = "Attribute type is not recognized and not serializable: %1$s")
SearchException attributeNotRecognizedNorSerializable(Class<?> attributeType);

@Message(id = 86, value = "Unknown attribute serialzied representation: %1$s")
@Message(id = 86, value = "Unknown attribute serialized representation: %1$s")
SearchException unknownAttributeSerializedRepresentation(String name);

@Message(id = 87, value = "Unable to read TokenStream")
Expand Down Expand Up @@ -520,7 +520,7 @@ public interface Log extends BasicLogger {
void inconsistentFieldConfiguration(String fieldName);

@Message(id = 121, value = "Unable to connect to: [%1$s] JGroups channel")
SearchException unabletoConnectToJGroupsCluster(String clusterName, @Cause Throwable e);
SearchException unableConnectingToJGroupsCluster(String clusterName, @Cause Throwable e);

@Message(id = 122, value = "Unable to start JGroups channel")
SearchException unableToStartJGroupsChannel(@Cause Throwable e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void run() {
}
catch ( SystemException e1 ) {
// we already have an exception, don't propagate this one
log.errorRollbackingTransaction( e.getMessage(), e1 );
log.errorRollingBackTransaction( e.getMessage(), e1 );
}
}
}
Expand Down

0 comments on commit da5dd62

Please sign in to comment.