/**
 * 
 */
package edu.jhu.hlt.rebar.services;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author max
 *
 */
public class RebarCorpusServer {
  
  private static final Logger logger = LoggerFactory.getLogger(RebarCorpusServer.class);
  
//  /**
//   * @param port
//   * @throws RebarException
//   */
//  public RebarCorpusServer(int port) throws RebarException {
//    this(Constants.getConnector(), port);
//  }
//  
//  public RebarCorpusServer(Connector conn, int port) throws RebarException {
//    this(conn, port, new RebarCorpusHandler(conn));
//  }
//
//  /**
//   * @param port
//   * @param processor
//   * @throws RebarException
//   */
//  private RebarCorpusServer(Connector conn, int port, RebarCorpusHandler rch) throws RebarException {
//    super(port, rch, new CorpusHandler.Processor<>(rch));
//  }
//  
//  public static void main(String... args) {
//    if (args.length != 1) {
//      logger.info("USAGE: " + RebarCorpusServer.class.getSimpleName() + " <port-number>");
//      System.exit(1);
//    }
//    
//    int port = 0;
//    try {
//      port = Integer.parseInt(args[0]);
//    } catch (NumberFormatException e) {
//      logger.error("You passed in a port that was a non-integer: " + args[0]);
//      System.exit(1);
//    }
//    
//    try (RebarCorpusServer srv = new RebarCorpusServer(port);) {
//      logger.info("Preparing to start RebarCorpusServer on port: " + port);
//      srv.start();
//    } catch (Exception e) {
//      throw new RuntimeException(e);
//    }
//  }
}

@@ -46,65 +46,8 @@
 s;%0A%0A
-import org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A
 %0A/**
@@ -109,100 +109,8 @@
 %0A  %0A
-  private static final Logger logger = LoggerFactory.getLogger(RebarCorpusServer.class);%0A  %0A
 //  

Kill a warning.