Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # dev >> SetIterCommand - why set input to new String(input)?


Copy link to this message
-
SetIterCommand - why set input to new String(input)?
Is there  some value in the line marked by question marks?

  private static String setUpOptions(final ConsoleReader reader, final
String className, final Map<String,String> options) ... {
    ...
          if (input == null) {
            reader.printNewline();
            throw new IOException("Input stream closed");
          } else {
            input = new String(input);  <--- ????
          }
  }
+
Billie Rinaldi 2012-09-11, 19:27
+
David Medinets 2012-09-11, 20:37
+
Christopher Tubbs 2012-09-12, 00:57
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB