formatting. patch by jbellis

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2010-07-26 21:01:31 +00:00
parent f27c6b7ce6
commit 6468f7bfc6
2 changed files with 6 additions and 7 deletions

View File

@ -143,11 +143,11 @@ public class CassandraDaemon extends org.apache.cassandra.service.AbstractCassan
try
{
tServerSocket = new TServerSocket(new InetSocketAddress(listenAddr, listenPort));
} catch (TTransportException e)
}
catch (TTransportException e)
{
throw new IOException(String.format(
"Unable to create thrift socket to %s:%s", listenAddr,
listenPort), e);
throw new IOException(String.format("Unable to create thrift socket to %s:%s",
listenAddr, listenPort), e);
}
logger.info(String.format("Binding thrift service to %s:%s", listenAddr, listenPort));
@ -165,7 +165,6 @@ public class CassandraDaemon extends org.apache.cassandra.service.AbstractCassan
inTransportFactory = new TFramedTransport.Factory(tFramedTransportSize);
outTransportFactory = new TFramedTransport.Factory(tFramedTransportSize);
logger.info("Using TFramedTransport with a max frame size of {} bytes.", tFramedTransportSize);
}
else
{

View File

@ -573,10 +573,10 @@ public class FBUtilities
public static AbstractType getComparator(String compareWith) throws ConfigurationException
{
String className = compareWith.contains(".") ? compareWith : "org.apache.cassandra.db.marshal." + compareWith;
Class<? extends AbstractType> typeClass;
Class<? extends AbstractType> typeClass;
try
{
typeClass = (Class<? extends AbstractType>)Class.forName(className);
typeClass = (Class<? extends AbstractType>) Class.forName(className);
}
catch (ClassNotFoundException e)
{